diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-04-16 09:14:53 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-04-16 09:51:59 -0400 |
commit | 7d4b5e978ad350916b5c3995490b09c4e59cec4a (patch) | |
tree | eb26a14aa1fddb12febdde64b5a9f1b2e3de2186 /sound/pci | |
parent | 3047755588e71b67c3f60409686fabf8506357e9 (diff) |
ALSA: hda - Fix regression for slave SPDIF setups
The commit [a551d91473e5: ALSA: hda - Use regmap for command verb
caches, too] introduced a regression due to a typo in the conversion;
the IEC958 status bits of slave digital devices aren't updated
correctly. This patch corrects it.
Fixes: a551d91473e5 ('ALSA: hda - Use regmap for command verb caches, too')
Reported-and-tested-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index e70a7fb393dd..873ed1bce12b 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c | |||
@@ -2529,7 +2529,7 @@ static void set_dig_out(struct hda_codec *codec, hda_nid_t nid, | |||
2529 | if (!d) | 2529 | if (!d) |
2530 | return; | 2530 | return; |
2531 | for (; *d; d++) | 2531 | for (; *d; d++) |
2532 | snd_hdac_regmap_update(&codec->core, nid, | 2532 | snd_hdac_regmap_update(&codec->core, *d, |
2533 | AC_VERB_SET_DIGI_CONVERT_1, mask, val); | 2533 | AC_VERB_SET_DIGI_CONVERT_1, mask, val); |
2534 | } | 2534 | } |
2535 | 2535 | ||