Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ccfdf9f6 authored by B, Jayachandran's avatar B, Jayachandran Committed by Mark Brown
Browse files

ALSA: hda: Fix LLCH register read



LLCH is a 16 bit register. Use readw instead of readl API.

Signed-off-by: default avatarB, Jayachandran <jayachandran.b@intel.com>
Signed-off-by: default avatarJeeja KP <jeeja.kp@intel.com>
Acked-by: default avatarTakashi Iwai <tiwai@suse.de>
Acked-by: default avatarVinod Koul <vinod.koul@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent a5de5b74
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {