Commit ccfdf9f6 authored by B, Jayachandran's avatar B, Jayachandran Committed by Mark Brown

ALSA: hda: Fix LLCH register read

LLCH is a 16 bit register. Use readw instead of readl API.
Signed-off-by: default avatarB, Jayachandran <jayachandran.b@intel.com>
Signed-off-by: default avatarJeeja KP <jeeja.kp@intel.com>
Acked-by: default avatarTakashi Iwai <tiwai@suse.de>
Acked-by: default avatarVinod Koul <vinod.koul@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent a5de5b74
...@@ -268,7 +268,7 @@ int snd_hdac_bus_parse_capabilities(struct hdac_bus *bus) ...@@ -268,7 +268,7 @@ int snd_hdac_bus_parse_capabilities(struct hdac_bus *bus)
unsigned int offset; unsigned int offset;
unsigned int counter = 0; unsigned int counter = 0;
offset = snd_hdac_chip_readl(bus, LLCH); offset = snd_hdac_chip_readw(bus, LLCH);
/* Lets walk the linked capabilities list */ /* Lets walk the linked capabilities list */
do { do {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment