summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-08-03 08:37:17 +0200
committerTakashi Iwai <tiwai@suse.de>2009-08-03 08:37:17 +0200
commite44d4e4cee1ece7b6e6bf4db899b1a7766015306 (patch)
tree791adda61e8affa6f2cc39485cbc6b5e8d4d41ed /sound/pci/hda/hda_codec.c
parentALSA: hda: add IbexPeak/Clarkdale HDMI model with static cvt/pin number (diff)
parentALSA: hda - Read buffer overflow (diff)
downloadlinux-e44d4e4cee1ece7b6e6bf4db899b1a7766015306.tar.xz
linux-e44d4e4cee1ece7b6e6bf4db899b1a7766015306.zip
Merge branch 'fix/hda' into topic/hda
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r--sound/pci/hda/hda_codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index a23c27d2fb2f..24401d5d3511 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -185,7 +185,7 @@ static int codec_exec_verb(struct hda_codec *codec, unsigned int cmd,
mutex_lock(&bus->cmd_mutex);
err = bus->ops.command(bus, cmd);
if (!err && res)
- *res = bus->ops.get_response(bus);
+ *res = bus->ops.get_response(bus, codec->addr);
mutex_unlock(&bus->cmd_mutex);
snd_hda_power_down(codec);
if (res && *res == -1 && bus->rirb_error) {