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

Fabio Estevam festevam at gmail.com
Tue Feb 7 22:16:08 AEDT 2023


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

Reviewed-by: Fabio Estevam <festevam at gmail.com>


More information about the Linuxppc-dev mailing list