Re: [PATCH] ASoC: fsl_sai: fix getting version from VERID

From: Fabio Estevam
Date: Tue Feb 07 2023 - 06:16:29 EST


On Tue, Feb 7, 2023 at 6:30 AM Shengjiu Wang <shengjiu.wang@xxxxxxx> 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@xxxxxxx>

Reviewed-by: Fabio Estevam <festevam@xxxxxxxxx>