summaryrefslogtreecommitdiffstats
path: root/sound/hda
diff options
context:
space:
mode:
authorB, Jayachandran <jayachandran.b@intel.com>2017-03-24 23:10:24 +0530
committerMark Brown <broonie@kernel.org>2017-03-29 12:01:35 +0100
commitccfdf9f6a47179941cb8b5f1d3df9734e54b38c4 (patch)
tree8771e5cc5c329752ee785b7930c36b1245f02796 /sound/hda
parenta5de5b74a50113564a1e0850e2da96c37c35e55d (diff)
downloadop-kernel-dev-ccfdf9f6a47179941cb8b5f1d3df9734e54b38c4.zip
op-kernel-dev-ccfdf9f6a47179941cb8b5f1d3df9734e54b38c4.tar.gz
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 0430658..6f1e99c 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 {
OpenPOWER on IntegriCloud