[PATCH 00/14] ALSA: Drop __bitwise and __force prefix

Takashi Iwai <[email protected]>
Newsgroups gmane.linux.sound
Message-ID <[email protected]>
Hi,

this is a series of cleanup patches to kill the infamous __bitwise and
__force prefix usage for some PCM and control parameter types.
They were added ages ago just for code safety, but its effect is quite
limited, while the drawback is significant.  Let's drop them.


Takashi

===

Takashi Iwai (14):
  ALSA: uapi: Drop __bitwise and __force prefix
  ALSA: pcm: Drop __force casts
  ALSA: pcm: Avoid macros for SNDRV_PCM_FMTBIT and SNDRV_PCM_SUBFMTBIT
  ALSA: control: Drop __force casts
  ALSA: oss: Drop __force casts
  ALSA: kunit: Drop __force casts
  ALSA: aloop: Drop __force casts
  ALSA: hda: Drop __force casts
  ALSA: asihpi: Drop __force cast
  ALSA: emu10k1: Drop __force casts
  ASoC: fsl: Drop __force casts
  ASoC: Intel: avs: Drop __force cast
  ASoC: mediatek: Drop __force casts
  ASoC: meson: Drop __force cast

 include/sound/pcm.h                           | 118 ++++++------
 include/sound/pcm_params.h                    |  13 +-
 include/uapi/sound/asequencer.h               |   8 +-
 include/uapi/sound/asound.h                   | 178 +++++++++---------
 sound/core/control_compat.c                   |  12 +-
 sound/core/oss/pcm_oss.c                      |  16 +-
 sound/core/oss/pcm_plugin.c                   |  20 +-
 sound/core/pcm.c                              |  12 +-
 sound/core/pcm_misc.c                         |  25 ++-
 sound/core/pcm_native.c                       |  28 +--
 sound/core/sound_kunit.c                      |   4 +-
 sound/drivers/aloop.c                         |   4 +-
 sound/hda/common/codec.c                      |   2 +-
 sound/hda/core/device.c                       |   2 +-
 sound/pci/asihpi/asihpi.c                     |   2 +-
 sound/pci/emu10k1/emufx.c                     |  18 +-
 sound/soc/fsl/fsl-asoc-card.c                 |   2 +-
 sound/soc/fsl/fsl_asrc.c                      |   2 +-
 sound/soc/fsl/fsl_asrc_m2m.c                  |  10 +-
 sound/soc/fsl/fsl_easrc.c                     |   2 +-
 sound/soc/fsl/fsl_qmc_audio.c                 |   8 +-
 sound/soc/fsl/imx-card.c                      |   4 +-
 sound/soc/intel/avs/probes.c                  |   2 +-
 .../mediatek/mt8183/mt8183-da7219-max98357.c  |   4 +-
 .../mt8183/mt8183-mt6358-ts3a227-max98357.c   |   4 +-
 sound/soc/mediatek/mt8186/mt8186-mt6366.c     |   2 +-
 sound/soc/mediatek/mt8188/mt8188-mt6359.c     |   2 +-
 sound/soc/mediatek/mt8189/mt8189-nau8825.c    |   2 +-
 .../mt8192/mt8192-mt6359-rt1015-rt5682.c      |   2 +-
 sound/soc/mediatek/mt8195/mt8195-mt6359.c     |   4 +-
 sound/soc/mediatek/mt8196/mt8196-nau8825.c    |   2 +-
 sound/soc/meson/meson-codec-glue.c            |   2 +-
 32 files changed, 252 insertions(+), 264 deletions(-)

-- 
2.55.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.