diff options
author | Jeeja KP <jeeja.kp@intel.com> | 2015-08-21 16:06:17 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-08-21 17:28:16 (GMT) |
commit | a7e3dd85cab1c6990cafd0bedb0b8809f15149b0 (patch) | |
tree | 5c31faddd30724d7baea324c2644a0626d784cbe /sound/hda/ext/hdac_ext_stream.c | |
parent | 9bc07dfbcde5b6f3aefa06b902b47eef9769d260 (diff) | |
download | linux-a7e3dd85cab1c6990cafd0bedb0b8809f15149b0.tar.xz |
ALSA: hdac: Fix to read the correct offset of spcap/link register
SPCAP and Mutilink register offset were incorrect as offset needs
to be based on capability offset. So correct the offset for
read/write of spcap/link register.
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/hda/ext/hdac_ext_stream.c')
-rw-r--r-- | sound/hda/ext/hdac_ext_stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/hda/ext/hdac_ext_stream.c b/sound/hda/ext/hdac_ext_stream.c index 3de47dd..b649625 100644 --- a/sound/hda/ext/hdac_ext_stream.c +++ b/sound/hda/ext/hdac_ext_stream.c @@ -423,7 +423,7 @@ void snd_hdac_ext_stream_spbcap_enable(struct hdac_ext_bus *ebus, mask |= (1 << index); - register_mask = snd_hdac_chip_readl(bus, SPB_SPBFCCTL); + register_mask = readl(ebus->spbcap + AZX_REG_SPB_SPBFCCTL); mask |= register_mask; |