提交 ccfdf9f6 编写于 作者: B B, Jayachandran 提交者: Mark Brown

ALSA: hda: Fix LLCH register read

LLCH is a 16 bit register. Use readw instead of readl API.
Signed-off-by: NB, Jayachandran <jayachandran.b@intel.com>
Signed-off-by: NJeeja KP <jeeja.kp@intel.com>
Acked-by: NTakashi Iwai <tiwai@suse.de>
Acked-by: NVinod Koul <vinod.koul@intel.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册