21 Jul
2022
21 Jul
'22
10:29 a.m.
Fix sparse warning
changes in v2: - use pcm_format_to_bits - use u32 asrc_fmt, then convert it to snd_pcm_format_t
Shengjiu Wang (5): ASoC: fsl_sai: Don't use plain integer as NULL pointer ASoC: fsl_asrc: force cast the asrc_format type ASoC: fsl-asoc-card: force cast the asrc_format type ASoC: fsl_easrc: use snd_pcm_format_t type for sample_format ASoC: imx-card: use snd_pcm_format_t type for asrc_format
sound/soc/fsl/fsl-asoc-card.c | 5 +++-- sound/soc/fsl/fsl_asrc.c | 6 ++++-- sound/soc/fsl/fsl_easrc.c | 9 ++++++--- sound/soc/fsl/fsl_easrc.h | 2 +- sound/soc/fsl/fsl_sai.c | 2 +- sound/soc/fsl/imx-card.c | 8 +++++--- 6 files changed, 20 insertions(+), 12 deletions(-)
--
2.34.1