From: Takashi Iwai Subject: Re: [PATCH v2 01/11] ALSA: hda: Fix LLCH register read Date: Fri, 24 Mar 2017 19:37:36 +0100 Message-ID: References: <1490377234-30257-1-git-send-email-jeeja.kp@intel.com> <1490377234-30257-2-git-send-email-jeeja.kp@intel.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 8C7482669DD for ; Fri, 24 Mar 2017 19:37:37 +0100 (CET) In-Reply-To: <1490377234-30257-2-git-send-email-jeeja.kp@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: jeeja.kp@intel.com Cc: patches.audio@intel.com, alsa-devel@alsa-project.org, "B, Jayachandran" , broonie@kernel.org, liam.r.girdwood@intel.com List-Id: alsa-devel@alsa-project.org On Fri, 24 Mar 2017 18:40:24 +0100, jeeja.kp@intel.com wrote: > > From: "B, Jayachandran" > > 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 Takashi > --- > sound/hda/hdac_controller.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/hda/hdac_controller.c b/sound/hda/hdac_controller.c > index 0430658..6f1e99c 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 { > -- > 2.5.0 > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >