diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2022-07-21 18:29:51 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-07-21 13:38:50 +0100 |
commit | 6c7b077dad62178c33f9a3ae17f90d6b0bf6e2e5 (patch) | |
tree | 00de668264d481488a846106eb3124ad056c7cbf /sound/core/rawmidi_compat.c | |
parent | c49932726de24405d45516b3f8ad2735714fdf05 (diff) |
ASoC: fsl-asoc-card: force cast the asrc_format type
Fix sparse warning:
sound/soc/fsl/fsl-asoc-card.c:833:45: sparse: warning: incorrect type in argument 3 (different base types)
sound/soc/fsl/fsl-asoc-card.c:833:45: sparse: expected unsigned int [usertype] *out_value
sound/soc/fsl/fsl-asoc-card.c:833:45: sparse: got restricted snd_pcm_format_t *
Fixes: 859e364302c5 ("ASoC: fsl-asoc-card: Support new property fsl, asrc-format")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1658399393-28777-4-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/core/rawmidi_compat.c')
0 files changed, 0 insertions, 0 deletions