mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 08:08:54 +00:00
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>
This commit is contained in:
parent
a5de5b74a5
commit
ccfdf9f6a4
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue