ALSA: hda: Fix LLCH register read

LLCH is a 16 bit register. Use readw instead of readl API.

Signed-off-by: B, Jayachandran <[email protected]>
Signed-off-by: Jeeja KP <[email protected]>
Acked-by: Takashi Iwai <[email protected]>
Acked-by: Vinod Koul <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
B, Jayachandran 2017-03-24 23:10:24 +05:30 • committed by Mark Brown
commit ccfdf9f6a4

View file

@ -268,7 +268,7 @@ int snd_hdac_bus_parse_capabilities(struct hdac_bus *bus)
unsigned int offset;
unsigned int counter = 0;
offset = snd_hdac_chip_readl(bus, LLCH);
offset = snd_hdac_chip_readw(bus, LLCH);
/* Lets walk the linked capabilities list */
do {