[alsa-devel] [PATCH 0/6] ASoC: PCM format type conversion fixes

Takashi Iwai tiwai at suse.de
Wed Jul 25 23:17:16 CEST 2018


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(-)

-- 
2.18.0



More information about the Alsa-devel mailing list