[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1658399393-28777-1-git-send-email-shengjiu.wang@nxp.com>
Date: Thu, 21 Jul 2022 18:29:48 +0800
From: Shengjiu Wang <shengjiu.wang@....com>
To: nicoleotsuka@...il.com, Xiubo.Lee@...il.com, festevam@...il.com,
shengjiu.wang@...il.com, lgirdwood@...il.com, broonie@...nel.org,
perex@...ex.cz, tiwai@...e.com, alsa-devel@...a-project.org
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: [PATCH v2 -next 0/5] ASoC: fsl: Fix sparse warning
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
Powered by blists - more mailing lists