diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2022-07-21 18:29:53 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-07-21 13:38:52 +0100 |
commit | 409a8652e909e323c715f3088e6c3133e37c8881 (patch) | |
tree | f2a1792732f601bfba6c2a1d1639e8991a01bf51 /sound/virtio | |
parent | de27216cf2d645c2fd14e513707bdcd54e5b1de4 (diff) |
ASoC: imx-card: use snd_pcm_format_t type for asrc_format
Fix sparse warning:
sound/soc/fsl/imx-card.c:653:59: sparse: warning: incorrect type in assignment (different base types)
sound/soc/fsl/imx-card.c:653:59: sparse: expected unsigned int [usertype] asrc_format
sound/soc/fsl/imx-card.c:653:59: sparse: got restricted snd_pcm_format_t [usertype]
sound/soc/fsl/imx-card.c:655:59: sparse: warning: incorrect type in assignment (different base types)
sound/soc/fsl/imx-card.c:655:59: sparse: expected unsigned int [usertype] asrc_format
sound/soc/fsl/imx-card.c:655:59: sparse: got restricted snd_pcm_format_t [usertype]
Fixes: aa736700f42f ("ASoC: imx-card: Add imx-card machine driver")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1658399393-28777-6-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/virtio')
0 files changed, 0 insertions, 0 deletions