OSDN Git Service

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)
commitee8829dc609c5c4a425b4a65fbb4cd56fb82f1f4
tree6b53f21b589145d907973c48a559acfe13e79306
parent64ca9d9fcb3e3c86b1417e3d17a90b43dd660f81
ALSA: hda: fix: lock reg_lock before calling snd_hdac_bus_update_rirb

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

Fixes: 5e13cf6cd64c ("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