Skip to content

ASoC: PCM format type conversion fixes

Takashi Iwai alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ALSA: pcm: Add snd_mask_set_format() helper for standard usagesinclude/sound/pcm_params.h+8 -21 reply
2/6ASoC: doc: Replace open code with params_set_format()Documentation/sound/soc/dpcm.rst+1 -31 reply
3/6ASoC: intel: Fix snd_pcm_format_t handlingsound/soc/intel/boards/bdw-rt5677.c sound/soc/intel/boards/bxt_da7219_max98357a.c sound/soc/intel/boards/bxt_rt298.c +6 more+11 -131 reply
4/6ASoC: fsl: Use snd_mask_set_format()sound/soc/fsl/fsl-asoc-card.c+1 -11 reply
5/6ASoC: pcm186x: Declare PCM format with snd_pcm_format_tsound/soc/codecs/pcm186x.c+1 -11 reply
6/6ASoC: dmaengine: Use standard pcm_format_to_bits() macrosound/soc/soc-generic-dmaengine-pcm.c+1 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] ASoC: PCM format type conversion fixes

Hi,

the PCM format is a fixed type with __bitwise, and it needs cast or other trick to deal with integer. This is a series of such fixes for ASoC.

Takashi

===

Takashi Iwai (6):
ALSA: pcm: Add snd_mask_set_format() helper for standard usages
ASoC: doc: Replace open code with params_set_format()
ASoC: intel: Fix snd_pcm_format_t handling
ASoC: fsl: Use snd_mask_set_format()
ASoC: pcm186x: Declare PCM format with snd_pcm_format_t
ASoC: dmaengine: Use standard pcm_format_to_bits() macro

 Documentation/sound/soc/dpcm.rst                    |  4 +---
 include/sound/pcm_params.h                          | 10 ++++++++--
 sound/soc/codecs/pcm186x.c                          |  2 +-
 sound/soc/fsl/fsl-asoc-card.c                       |  2 +-
 sound/soc/intel/boards/bdw-rt5677.c                 |  4 +---
 sound/soc/intel/boards/bxt_da7219_max98357a.c       |  2 +-
 sound/soc/intel/boards/bxt_rt298.c                  |  2 +-
 sound/soc/intel/boards/kbl_da7219_max98357a.c       |  2 +-
 sound/soc/intel/boards/kbl_rt5663_max98927.c        |  4 ++--
 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c |  4 ++--
 sound/soc/intel/boards/skl_nau88l25_max98357a.c     |  2 +-
 sound/soc/intel/boards/skl_nau88l25_ssm4567.c       |  2 +-
 sound/soc/intel/boards/skl_rt286.c                  |  2 +-
 sound/soc/soc-generic-dmaengine-pcm.c               |  2 +-
 14 files changed, 23 insertions(+), 21 deletions(-)
Signature · 1 line
2.18.0