lkml.org 
[lkml]   [2022]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 -next 0/5] ASoC: fsl: Fix sparse warning
Date
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

\
 
 \ /
  Last update: 2022-07-21 12:46    [W:0.168 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site