diff options
author | 2023-02-07 17:04:24 +0800 | |
---|---|---|
committer | 2023-02-07 12:32:15 +0000 | |
commit | 29aab38823b61e482995c24644bd2d8acfe56185 (patch) | |
tree | 059f5bec64ae4995ccaa2ce470c2c3b461dd5146 /scripts/generate_rust_analyzer.py | |
parent | Two bug fixes for tas5805m codec driver (diff) | |
download | wireguard-linux-29aab38823b61e482995c24644bd2d8acfe56185.tar.xz wireguard-linux-29aab38823b61e482995c24644bd2d8acfe56185.zip |
ASoC: fsl_sai: fix getting version from VERID
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@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/1675760664-25193-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions