Skip to content

ALSA: Constifications, take #2

Takashi Iwai alsa-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest68 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/68ALSA: Allow const arrays for legacy resource management helpersinclude/sound/initval.h+3 -30 replies
2/68ALSA: aoa: More constificationssound/aoa/codecs/onyx.c sound/aoa/codecs/tas-basstreble.h sound/aoa/codecs/tas-gain-table.h +1 more+6 -60 replies
3/68ALSA: hda/realtek - More constificationssound/pci/hda/patch_realtek.c+59 -590 replies
4/68ALSA: dummy: More constificationssound/drivers/dummy.c+12 -120 replies
5/68ALSA: pcm: More constificationssound/core/pcm.c sound/core/pcm_lib.c sound/core/pcm_misc.c+10 -90 replies
6/68ALSA: seq: More constificationssound/core/seq/oss/seq_oss_init.c sound/core/seq/seq_midi_emul.c sound/core/seq/seq_midi_event.c+8 -80 replies
7/68ALSA: vx: More constificationssound/drivers/vx/vx_cmd.c sound/drivers/vx/vx_core.c sound/drivers/vx/vx_hwdep.c +3 more+12 -120 replies
8/68ALSA: intel8x0: More constificationssound/pci/intel8x0.c sound/pci/intel8x0m.c+20 -200 replies
9/68ALSA: hda: More constificationssound/hda/hdac_device.c sound/hda/hdmi_chmap.c sound/hda/intel-nhlt.c +7 more+26 -260 replies
10/68ALSA: ac97: More constificationssound/pci/ac97/ac97_codec.c sound/pci/ac97/ac97_patch.c sound/pci/ac97/ac97_pcm.c+20 -200 replies
11/68ALSA: usb-audio: More constificationssound/usb/mixer.c sound/usb/mixer_maps.c sound/usb/mixer_quirks.c +4 more+73 -730 replies
12/68ALSA: caiaq: More constificationssound/usb/caiaq/audio.c sound/usb/caiaq/control.c sound/usb/caiaq/input.c+16 -160 replies
13/68ALSA: au88x0: More constificationssound/pci/au88x0/au88x0_core.c sound/pci/au88x0/au88x0_eq.c sound/pci/au88x0/au88x0_eqdata.c +1 more+23 -230 replies
14/68ALSA: emu10k1: More constificationssound/pci/emu10k1/emu10k1_main.c sound/pci/emu10k1/emufx.c sound/pci/emu10k1/emumixer.c +2 more+37 -370 replies
15/68ALSA: riptide: More constificationssound/pci/riptide/riptide.c+30 -300 replies
16/68ALSA: ice1712: More constificationssound/pci/ice1712/aureon.c sound/pci/ice1712/juli.c sound/pci/ice1712/maya44.c +9 more+38 -380 replies
17/68ALSA: ppc: More constificationssound/ppc/beep.c sound/ppc/pmac.c sound/ppc/pmac.h +2 more+22 -220 replies
18/68ALSA: hdsp: More constificationssound/pci/rme9652/hdsp.c+7 -70 replies
19/68ALSA: hdspm: More constificationssound/pci/rme9652/hdspm.c+35 -310 replies
20/68ALSA: rme9652: More constificationssound/pci/rme9652/rme9652.c+5 -50 replies
21/68ALSA: emux: More constificationssound/synth/emux/emux_nrpn.c sound/synth/emux/emux_synth.c sound/synth/emux/soundfont.c+11 -110 replies
22/68ALSA: usx2y: More constificationssound/usb/usx2y/usX2Yhwdep.c sound/usb/usx2y/usbusx2yaudio.c+4 -40 replies
23/68ALSA: pcxhr: More constificationssound/pci/pcxhr/pcxhr.c sound/pci/pcxhr/pcxhr_core.c sound/pci/pcxhr/pcxhr_hwdep.c+5 -50 replies
24/68ALSA: mixart: More constificationssound/pci/mixart/mixart_hwdep.c sound/pci/mixart/mixart_mixer.c+3 -30 replies
25/68ALSA: ymfpci: More constificationssound/pci/ymfpci/ymfpci_main.c+4 -40 replies
26/68ALSA: bcd2000: More constificationssound/usb/bcd2000/bcd2000.c+2 -20 replies
27/68ALSA: nm256: More constificationssound/pci/nm256/nm256.c sound/pci/nm256/nm256_coef.c+4 -40 replies
28/68ALSA: korg1212: More constificationssound/pci/korg1212/korg1212.c+4 -40 replies
29/68ALSA: cs46xx: More constificationssound/pci/cs46xx/cs46xx_lib.c sound/pci/cs46xx/dsp_spos.c sound/pci/cs46xx/dsp_spos_scb_lib.c+6 -60 replies
30/68ALSA: ca0106: More constificationssound/pci/ca0106/ca0106_main.c sound/pci/ca0106/ca0106_mixer.c+9 -90 replies
31/68ALSA: ctxfi: More constificationssound/pci/ctxfi/ctdaio.c sound/pci/ctxfi/ctresource.c+3 -30 replies
32/68ALSA: asihpi: More constificationssound/pci/asihpi/asihpi.c sound/pci/asihpi/hpimsgx.c+3 -30 replies
33/68ALSA: atiixp: More constificationssound/pci/atiixp.c sound/pci/atiixp_modem.c+2 -20 replies
34/68ALSA: es1938: More constificationssound/pci/es1938.c+5 -30 replies
35/68ALSA: es1968: More constificationssound/pci/es1968.c+2 -20 replies
36/68ALSA: cmipci: More constificationssound/pci/cmipci.c+4 -40 replies
37/68ALSA: sparc: More constificationssound/sparc/cs4231.c sound/sparc/dbri.c+3 -30 replies
38/68ALSA: info: More constificationssound/core/info.c+2 -20 replies
39/68ALSA: jack: More constificationsound/core/jack.c+1 -10 replies
40/68ALSA: oss: More constificationssound/core/oss/mixer_oss.c sound/core/oss/pcm_plugin.c+2 -20 replies
41/68ALSA: rawmidi: More constificationsound/core/rawmidi.c+1 -10 replies
42/68ALSA: opl3: More constificationssound/drivers/opl3/opl3_drums.c sound/drivers/opl3/opl3_midi.c+4 -40 replies
43/68ALSA: cmi8328: More constificationssound/isa/cmi8328.c+12 -120 replies
44/68ALSA: cs423x: More constificationsound/isa/cs423x/cs4236_lib.c+1 -10 replies
45/68ALSA: sb: More constificationssound/isa/sb/emu8000.c sound/isa/sb/jazz16.c sound/isa/sb/sb16.c +2 more+37 -370 replies
46/68ALSA: cmi8330: More constificationssound/isa/cmi8330.c+4 -40 replies
47/68ALSA: es1688: More constificationssound/isa/es1688/es1688.c sound/isa/es1688/es1688_lib.c+5 -50 replies
48/68ALSA: es18xx: More constificationssound/isa/es18xx.c+5 -50 replies
49/68ALSA: gus: More constificationssound/isa/gus/gus_io.c sound/isa/gus/gus_main.c sound/isa/gus/gus_volume.c +4 more+24 -230 replies
50/68ALSA: opti9xx: More constificationssound/isa/opti9xx/miro.c sound/isa/opti9xx/opti92x-ad1848.c+18 -180 replies
51/68ALSA: wss: More constificationssound/isa/wss/wss_lib.c+3 -30 replies
52/68ALSA: sc6000: More constificationsound/isa/sc6000.c+2 -20 replies
53/68ALSA: mts64: More constificationssound/drivers/mts64.c+2 -20 replies
54/68ALSA: aw2: More constificationssound/pci/aw2/aw2-tsl.c+2 -20 replies
55/68ALSA: lx6464es: More constificationssound/pci/lx6464es/lx_core.c+2 -20 replies
56/68ALSA: arm: More constificationsound/arm/aaci.c+1 -10 replies
57/68ALSA: opl4: More constificationsound/drivers/opl4/opl4_synth.c+1 -10 replies
58/68ALSA: serial-u16550: More constificationsound/drivers/serial-u16550.c+1 -10 replies
59/68ALSA: ak4531: More constificationsound/pci/ak4531_codec.c+1 -10 replies
60/68ALSA: azt3328: More constificationsound/pci/azt3328.c+1 -10 replies
61/68ALSA: cs4281: More constificationsound/pci/cs4281.c+1 -10 replies
62/68ALSA: echoaudio: More constificationsound/pci/echoaudio/echoaudio.c+1 -10 replies
63/68ALSA: ens137x: More constificationsound/pci/ens1370.c+1 -10 replies
64/68ALSA: fm801: More constificationsound/pci/fm801.c+1 -10 replies
65/68ALSA: via82xx: More constificationsound/pci/via82xx.c+1 -10 replies
66/68ALSA: pdaudiocf: More constificationsound/pcmcia/pdaudiocf/pdaudiocf_core.c+1 -10 replies
67/68ALSA: spi: More constificationsound/spi/at73c213.c+1 -10 replies
68/68ALSA: sh: Fix compile warning wrt constsound/sh/aica.c+2 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [alsa-devel] [PATCH 00/68] ALSA: Constifications, take #2

Hi,

this is the next series of patches for adding more const prefix allover the places. They do just nothing but adding cost.

Takashi

===

Takashi Iwai (68):
ALSA: Allow const arrays for legacy resource management helpers
ALSA: aoa: More constifications
ALSA: hda/realtek - More constifications
ALSA: dummy: More constifications
ALSA: pcm: More constifications
ALSA: seq: More constifications
ALSA: vx: More constifications
ALSA: intel8x0: More constifications
ALSA: hda: More constifications
ALSA: ac97: More constifications
ALSA: usb-audio: More constifications
ALSA: caiaq: More constifications
ALSA: au88x0: More constifications
ALSA: emu10k1: More constifications
ALSA: riptide: More constifications
ALSA: ice1712: More constifications
ALSA: ppc: More constifications
ALSA: hdsp: More constifications
ALSA: hdspm: More constifications
ALSA: rme9652: More constifications
ALSA: emux: More constifications
ALSA: usx2y: More constifications
ALSA: pcxhr: More constifications
ALSA: mixart: More constifications
ALSA: ymfpci: More constifications
ALSA: bcd2000: More constifications
ALSA: nm256: More constifications
ALSA: korg1212: More constifications
ALSA: cs46xx: More constifications
ALSA: ca0106: More constifications
ALSA: ctxfi: More constifications
ALSA: asihpi: More constifications
ALSA: atiixp: More constifications
ALSA: es1938: More constifications
ALSA: es1968: More constifications
ALSA: cmipci: More constifications
ALSA: sparc: More constifications
ALSA: info: More constifications
ALSA: jack: More constification
ALSA: oss: More constifications
ALSA: rawmidi: More constification
ALSA: opl3: More constifications
ALSA: cmi8328: More constifications
ALSA: cs423x: More constification
ALSA: sb: More constifications
ALSA: cmi8330: More constifications
ALSA: es1688: More constifications
ALSA: es18xx: More constifications
ALSA: gus: More constifications
ALSA: opti9xx: More constifications
ALSA: wss: More constifications
ALSA: sc6000: More constification
ALSA: mts64: More constifications
ALSA: aw2: More constifications
ALSA: lx6464es: More constifications
ALSA: arm: More constification
ALSA: opl4: More constification
ALSA: serial-u16550: More constification
ALSA: ak4531: More constification
ALSA: azt3328: More constification
ALSA: cs4281: More constification
ALSA: echoaudio: More constification
ALSA: ens137x: More constification
ALSA: fm801: More constification
ALSA: via82xx: More constification
ALSA: pdaudiocf: More constification
ALSA: spi: More constification
ALSA: sh: Fix compile warning wrt const

 include/sound/initval.h                 |   6 +-
 sound/aoa/codecs/onyx.c                 |   4 +-
 sound/aoa/codecs/tas-basstreble.h       |   4 +-
 sound/aoa/codecs/tas-gain-table.h       |   2 +-
 sound/aoa/soundbus/i2sbus/core.c        |   2 +-
 sound/arm/aaci.c                        |   2 +-
 sound/core/info.c                       |   4 +-
 sound/core/jack.c                       |   2 +-
 sound/core/oss/mixer_oss.c              |   2 +-
 sound/core/oss/pcm_plugin.c             |   2 +-
 sound/core/pcm.c                        |  12 ++--
 sound/core/pcm_lib.c                    |   2 +-
 sound/core/pcm_misc.c                   |   5 +-
 sound/core/rawmidi.c                    |   2 +-
 sound/core/seq/oss/seq_oss_init.c       |   4 +-
 sound/core/seq/seq_midi_emul.c          |   6 +-
 sound/core/seq/seq_midi_event.c         |   6 +-
 sound/drivers/dummy.c                   |  24 +++----
 sound/drivers/mts64.c                   |   4 +-
 sound/drivers/opl3/opl3_drums.c         |   2 +-
 sound/drivers/opl3/opl3_midi.c          |   6 +-
 sound/drivers/opl4/opl4_synth.c         |   2 +-
 sound/drivers/serial-u16550.c           |   2 +-
 sound/drivers/vx/vx_cmd.c               |   2 +-
 sound/drivers/vx/vx_core.c              |  12 ++--
 sound/drivers/vx/vx_hwdep.c             |   2 +-
 sound/drivers/vx/vx_mixer.c             |   2 +-
 sound/hda/hdac_device.c                 |   4 +-
 sound/hda/hdmi_chmap.c                  |   2 +-
 sound/hda/intel-nhlt.c                  |   2 +-
 sound/isa/cmi8328.c                     |  24 +++----
 sound/isa/cmi8330.c                     |   8 +--
 sound/isa/cs423x/cs4236_lib.c           |   2 +-
 sound/isa/es1688/es1688.c               |   6 +-
 sound/isa/es1688/es1688_lib.c           |   4 +-
 sound/isa/es18xx.c                      |  10 +--
 sound/isa/gus/gus_io.c                  |   2 +-
 sound/isa/gus/gus_main.c                |   4 +-
 sound/isa/gus/gus_volume.c              |   9 +--
 sound/isa/gus/gusclassic.c              |   6 +-
 sound/isa/gus/gusextreme.c              |  10 +--
 sound/isa/gus/gusmax.c                  |   6 +-
 sound/isa/gus/interwave.c               |  10 +--
 sound/isa/opti9xx/miro.c                |  18 ++---
 sound/isa/opti9xx/opti92x-ad1848.c      |  18 ++---
 sound/isa/sb/emu8000.c                  |  16 ++---
 sound/isa/sb/jazz16.c                   |  10 +--
 sound/isa/sb/sb16.c                     |   8 +--
 sound/isa/sb/sb8.c                      |   2 +-
 sound/isa/sb/sb_mixer.c                 |  38 +++++-----
 sound/isa/sc6000.c                      |   4 +-
 sound/isa/wss/wss_lib.c                 |   6 +-
 sound/pci/ac97/ac97_codec.c             |  10 +--
 sound/pci/ac97/ac97_patch.c             |  26 +++----
 sound/pci/ac97/ac97_pcm.c               |   4 +-
 sound/pci/ak4531_codec.c                |   2 +-
 sound/pci/asihpi/asihpi.c               |   4 +-
 sound/pci/asihpi/hpimsgx.c              |   2 +-
 sound/pci/atiixp.c                      |   2 +-
 sound/pci/atiixp_modem.c                |   2 +-
 sound/pci/au88x0/au88x0_core.c          |   2 +-
 sound/pci/au88x0/au88x0_eq.c            |  22 +++---
 sound/pci/au88x0/au88x0_eqdata.c        |  18 ++---
 sound/pci/au88x0/au88x0_pcm.c           |   4 +-
 sound/pci/aw2/aw2-tsl.c                 |   4 +-
 sound/pci/azt3328.c                     |   2 +-
 sound/pci/ca0106/ca0106_main.c          |   4 +-
 sound/pci/ca0106/ca0106_mixer.c         |  14 ++--
 sound/pci/cmipci.c                      |   8 +--
 sound/pci/cs4281.c                      |   2 +-
 sound/pci/cs46xx/cs46xx_lib.c           |   2 +-
 sound/pci/cs46xx/dsp_spos.c             |   4 +-
 sound/pci/cs46xx/dsp_spos_scb_lib.c     |   6 +-
 sound/pci/ctxfi/ctdaio.c                |   4 +-
 sound/pci/ctxfi/ctresource.c            |   2 +-
 sound/pci/echoaudio/echoaudio.c         |   2 +-
 sound/pci/emu10k1/emu10k1_main.c        |  12 ++--
 sound/pci/emu10k1/emufx.c               |  14 ++--
 sound/pci/emu10k1/emumixer.c            |  28 ++++----
 sound/pci/emu10k1/emuproc.c             |  16 ++---
 sound/pci/emu10k1/io.c                  |   4 +-
 sound/pci/ens1370.c                     |   2 +-
 sound/pci/es1938.c                      |   8 ++-
 sound/pci/es1968.c                      |   4 +-
 sound/pci/fm801.c                       |   2 +-
 sound/pci/hda/hda_codec.c               |   6 +-
 sound/pci/hda/hda_eld.c                 |   6 +-
 sound/pci/hda/hda_intel.c               |   8 +--
 sound/pci/hda/hda_proc.c                |   2 +-
 sound/pci/hda/hda_sysfs.c               |   2 +-
 sound/pci/hda/patch_analog.c            |   2 +-
 sound/pci/hda/patch_ca0132.c            |  18 ++---
 sound/pci/hda/patch_realtek.c           | 118 ++++++++++++++++----------------
 sound/pci/ice1712/aureon.c              |   8 +--
 sound/pci/ice1712/juli.c                |   6 +-
 sound/pci/ice1712/maya44.c              |  10 +--
 sound/pci/ice1712/phase.c               |   4 +-
 sound/pci/ice1712/pontis.c              |   2 +-
 sound/pci/ice1712/prodigy192.c          |   2 +-
 sound/pci/ice1712/prodigy_hifi.c        |  16 ++---
 sound/pci/ice1712/psc724.c              |   2 +-
 sound/pci/ice1712/quartet.c             |   8 +--
 sound/pci/ice1712/se.c                  |   8 +--
 sound/pci/ice1712/vt1720_mobo.c         |   4 +-
 sound/pci/ice1712/wtm.c                 |   6 +-
 sound/pci/intel8x0.c                    |  28 ++++----
 sound/pci/intel8x0m.c                   |  12 ++--
 sound/pci/korg1212/korg1212.c           |   8 +--
 sound/pci/lx6464es/lx_core.c            |   4 +-
 sound/pci/mixart/mixart_hwdep.c         |   2 +-
 sound/pci/mixart/mixart_mixer.c         |   4 +-
 sound/pci/nm256/nm256.c                 |   4 +-
 sound/pci/nm256/nm256_coef.c            |   4 +-
 sound/pci/pcxhr/pcxhr.c                 |   2 +-
 sound/pci/pcxhr/pcxhr_core.c            |   6 +-
 sound/pci/pcxhr/pcxhr_hwdep.c           |   2 +-
 sound/pci/riptide/riptide.c             |  60 ++++++++--------
 sound/pci/rme9652/hdsp.c                |  14 ++--
 sound/pci/rme9652/hdspm.c               |  66 +++++++++---------
 sound/pci/rme9652/rme9652.c             |  10 +--
 sound/pci/via82xx.c                     |   2 +-
 sound/pci/vx222/vx222_ops.c             |   4 +-
 sound/pci/ymfpci/ymfpci_main.c          |   8 +--
 sound/pcmcia/pdaudiocf/pdaudiocf_core.c |   2 +-
 sound/pcmcia/vx/vxp_ops.c               |   2 +-
 sound/ppc/beep.c                        |   2 +-
 sound/ppc/pmac.c                        |   8 +--
 sound/ppc/pmac.h                        |   2 +-
 sound/ppc/tumbler.c                     |  20 +++---
 sound/ppc/tumbler_volume.h              |  12 ++--
 sound/sh/aica.c                         |   4 +-
 sound/sparc/cs4231.c                    |   4 +-
 sound/sparc/dbri.c                      |   2 +-
 sound/spi/at73c213.c                    |   2 +-
 sound/synth/emux/emux_nrpn.c            |   4 +-
 sound/synth/emux/emux_synth.c           |  10 +--
 sound/synth/emux/soundfont.c            |   8 +--
 sound/usb/bcd2000/bcd2000.c             |   4 +-
 sound/usb/caiaq/audio.c                 |   2 +-
 sound/usb/caiaq/control.c               |  20 +++---
 sound/usb/caiaq/input.c                 |  10 +--
 sound/usb/mixer.c                       |  60 ++++++++--------
 sound/usb/mixer_maps.c                  |  56 +++++++--------
 sound/usb/mixer_quirks.c                |   6 +-
 sound/usb/mixer_scarlett.c              |  14 ++--
 sound/usb/proc.c                        |   2 +-
 sound/usb/stream.c                      |   4 +-
 sound/usb/usx2y/usX2Yhwdep.c            |   2 +-
 sound/usb/usx2y/usbusx2yaudio.c         |   6 +-
 sound/usb/validate.c                    |   4 +-
 150 files changed, 677 insertions(+), 669 deletions(-)
Signature · 6 lines
2.16.4

_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel