[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOMZO5Cs_ON6wJHGo4Gskc9sNThKW4bXC_jfMwxkkLkN5syo_A@mail.gmail.com>
Date: Tue, 7 Feb 2023 08:16:08 -0300
From: Fabio Estevam <festevam@...il.com>
To: Shengjiu Wang <shengjiu.wang@....com>
Cc: nicoleotsuka@...il.com, Xiubo.Lee@...il.com,
shengjiu.wang@...il.com, lgirdwood@...il.com, broonie@...nel.org,
perex@...ex.cz, tiwai@...e.com, alsa-devel@...a-project.org,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ASoC: fsl_sai: fix getting version from VERID
On Tue, Feb 7, 2023 at 6:30 AM Shengjiu Wang <shengjiu.wang@....com> wrote:
>
> The version information is at the bit31 ~ bit16 in the VERID
> register, so need to right shift 16bit to get it, otherwise
> the result of comparison "sai->verid.version >= 0x0301" is
> wrong.
>
> Fixes: 99c1e74f25d4 ("ASoC: fsl_sai: store full version instead of major/minor")
> Signed-off-by: Shengjiu Wang <shengjiu.wang@....com>
Reviewed-by: Fabio Estevam <festevam@...il.com>
Powered by blists - more mailing lists