[PATCH 4.9 27/44] ALSA: core: Fix card races between register and disconnect