diff options
author | B, Jayachandran <jayachandran.b@intel.com> | 2017-03-24 23:10:24 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-03-29 12:01:35 +0100 |
commit | ccfdf9f6a47179941cb8b5f1d3df9734e54b38c4 (patch) | |
tree | 8771e5cc5c329752ee785b7930c36b1245f02796 | |
parent | a5de5b74a50113564a1e0850e2da96c37c35e55d (diff) | |
download | linux-ccfdf9f6a47179941cb8b5f1d3df9734e54b38c4.tar.gz linux-ccfdf9f6a47179941cb8b5f1d3df9734e54b38c4.tar.bz2 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>
-rw-r--r-- | sound/hda/hdac_controller.c | 2 |
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 { |