From: B, Jayachandran Date: Fri, 24 Mar 2017 17:40:24 +0000 (+0530) Subject: ALSA: hda: Fix LLCH register read X-Git-Tag: v4.13~830^2^2~14^2~29^2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=ccfdf9f6a47179941cb8b5f1d3df9734e54b38c4;p=mirror_ubuntu-bionic-kernel.git ALSA: hda: Fix LLCH register read LLCH is a 16 bit register. Use readw instead of readl API. Signed-off-by: B, Jayachandran Signed-off-by: Jeeja KP Acked-by: Takashi Iwai Acked-by: Vinod Koul Signed-off-by: Mark Brown --- 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 {