summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl-asoc-card.c
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2022-07-21 18:29:50 +0800
committerMark Brown <broonie@kernel.org>2022-07-21 13:38:49 +0100
commitc49932726de24405d45516b3f8ad2735714fdf05 (patch)
treeb03b713c376dfdc56000c428a45c3f2f697d3965 /sound/soc/fsl/fsl-asoc-card.c
parentb17079d37fe1570019d7defd9e341d5c18aba8f5 (diff)
ASoC: fsl_asrc: force cast the asrc_format type
Fix sparse warning: sound/soc/fsl/fsl_asrc.c:1177:60: sparse: warning: incorrect type in argument 3 (different base types) sound/soc/fsl/fsl_asrc.c:1177:60: sparse: expected unsigned int [usertype] *out_value sound/soc/fsl/fsl_asrc.c:1177:60: sparse: got restricted snd_pcm_format_t * sound/soc/fsl/fsl_asrc.c:1200:47: sparse: warning: restricted snd_pcm_format_t degrades to integer Fixes: 4520af41fd21 ("ASoC: fsl_asrc: Support new property fsl,asrc-format") Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Link: https://lore.kernel.org/r/1658399393-28777-3-git-send-email-shengjiu.wang@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl/fsl-asoc-card.c')
0 files changed, 0 insertions, 0 deletions