diff options
author | B, Jayachandran <jayachandran.b@intel.com> | 2017-03-24 20:40:24 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-03-29 14:01:35 +0300 |
commit | ccfdf9f6a47179941cb8b5f1d3df9734e54b38c4 (patch) | |
tree | 8771e5cc5c329752ee785b7930c36b1245f02796 /sound/hda/hdac_controller.c | |
parent | a5de5b74a50113564a1e0850e2da96c37c35e55d (diff) | |
download | linux-ccfdf9f6a47179941cb8b5f1d3df9734e54b38c4.tar.xz |
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/hdac_controller.c')
-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 { |