1
0

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>
Este cometimento está contido em:
Jeeja KP
2015-08-21 21:36:17 +05:30
cometido por Takashi Iwai
ascendente 9bc07dfbcd
cometimento a7e3dd85ca
2 ficheiros modificados com 6 adições e 6 eliminações

Ver ficheiro

@@ -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;