summaryrefslogtreecommitdiffstats
path: root/sound/hda
diff options
context:
space:
mode:
authorB, Jayachandran2017-03-24 18:40:24 +0100
committerMark Brown2017-03-29 13:01:35 +0200
commitccfdf9f6a47179941cb8b5f1d3df9734e54b38c4 (patch)
tree8771e5cc5c329752ee785b7930c36b1245f02796 /sound/hda
parentMerge remote-tracking branches 'asoc/topic/wm9712', 'asoc/topic/wm9713' and '... (diff)
downloadkernel-qcow2-linux-ccfdf9f6a47179941cb8b5f1d3df9734e54b38c4.tar.gz
kernel-qcow2-linux-ccfdf9f6a47179941cb8b5f1d3df9734e54b38c4.tar.xz
kernel-qcow2-linux-ccfdf9f6a47179941cb8b5f1d3df9734e54b38c4.zip
ALSA: hda: Fix LLCH register read
LLCH is a 16 bit register. Use readw instead of readl API. Signed-off-by: B, Jayachandran <jayachandran.b@intel.com> Signed-off-by: Jeeja KP <jeeja.kp@intel.com> Acked-by: Takashi Iwai <tiwai@suse.de> Acked-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/hda')
-rw-r--r--sound/hda/hdac_controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/hda/hdac_controller.c b/sound/hda/hdac_controller.c
index 043065867656..6f1e99c9fed9 100644
--- a/sound/hda/hdac_controller.c
+++ b/sound/hda/hdac_controller.c
@@ -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 {