]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: fix: lock reg_lock before calling snd_hdac_bus_update_rirb
authorBard Liao <yung-chuan.liao@linux.intel.com>
Wed, 29 May 2019 20:59:00 +0000 (04:59 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 30 May 2019 09:00:21 +0000 (11:00 +0200)
commitcdeccdcaba48298cca0359e3dfa589096e4efcb7
tree6b53f21b589145d907973c48a559acfe13e79306
parent9aac8ac1332384beabbfa14f858eed4135244c56
ALSA: hda: fix: lock reg_lock before calling snd_hdac_bus_update_rirb

The patch is to fix commit 5e1b4f4863b5
(ALSA: hda: add polling mode in snd_hdac_bus_get_response)
spin_lock_irq should be called before snd_hdac_bus_update_rirb.

Fixes: 5e1b4f4863b5 ("ALSA: hda: add polling mode in snd_hdac_bus_get_response")
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/hdac_controller.c