linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 -next 0/5] ASoC: fsl: Fix sparse warning
@ 2022-07-21 10:29 Shengjiu Wang
  2022-07-21 10:29 ` [PATCH v2 -next 1/5] ASoC: fsl_sai: Don't use plain integer as NULL pointer Shengjiu Wang
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Shengjiu Wang @ 2022-07-21 10:29 UTC (permalink / raw)
  To: nicoleotsuka, Xiubo.Lee, festevam, shengjiu.wang, lgirdwood,
	broonie, perex, tiwai, alsa-devel
  Cc: linuxppc-dev, linux-kernel

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-07-22 12:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-21 10:29 [PATCH v2 -next 0/5] ASoC: fsl: Fix sparse warning Shengjiu Wang
2022-07-21 10:29 ` [PATCH v2 -next 1/5] ASoC: fsl_sai: Don't use plain integer as NULL pointer Shengjiu Wang
2022-07-21 10:29 ` [PATCH v2 -next 2/5] ASoC: fsl_asrc: force cast the asrc_format type Shengjiu Wang
2022-07-21 10:29 ` [PATCH v2 -next 3/5] ASoC: fsl-asoc-card: " Shengjiu Wang
2022-07-21 10:29 ` [PATCH v2 -next 4/5] ASoC: fsl_easrc: use snd_pcm_format_t type for sample_format Shengjiu Wang
2022-07-21 10:29 ` [PATCH v2 -next 5/5] ASoC: imx-card: use snd_pcm_format_t type for asrc_format Shengjiu Wang
2022-07-22 12:48 ` [PATCH v2 -next 0/5] ASoC: fsl: Fix sparse warning Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).