mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/5] ALSA: Make always-successful helpers return void
@ 2026-11-01 17:21 Ingyu Jang
  2026-11-01 17:21 ` [PATCH 1/5] ALSA: hda: Make snd_hda_multi_out_analog_{prepare,cleanup}() " Ingyu Jang
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Ingyu Jang @ 2026-11-01 17:21 UTC (permalink / raw)
  To: Takashi Iwai, Jaroslav Kysela; +Cc: linux-sound, linux-kernel, Ingyu Jang

These helpers always return 0, so the error checks on their return
values never trigger. This series makes them return void and removes
the dead checks, one driver per patch.

This follows up on the earlier discussion:
https://lore.kernel.org/all/87jywvyu2q.wl-tiwai@suse.de/

Ingyu Jang (5):
  ALSA: hda: Make snd_hda_multi_out_analog_{prepare,cleanup}() return
    void
  ALSA: ice1712: Make chip_init helpers return void
  ALSA: cs4236: Make snd_cs423x_pnp_init_mpu() return void
  ALSA: vx222: Make put_xilinx_data() return void
  ALSA: ali5451: Make snd_ali_reset_5451() return void

 sound/hda/codecs/generic.c   | 22 +++++++++-------------
 sound/hda/common/codec.c     | 16 +++++++---------
 sound/hda/common/hda_local.h | 14 +++++++-------
 sound/isa/cs423x/cs4236.c    |  9 +++------
 sound/pci/ali5451/ali5451.c  | 10 +++-------
 sound/pci/ice1712/ice1712.c  | 12 +++---------
 sound/pci/ice1712/ice1724.c  | 12 +++---------
 sound/pci/vx222/vx222_ops.c  |  7 +++----
 8 files changed, 38 insertions(+), 64 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-11-02  9:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-01 17:21 [PATCH 0/5] ALSA: Make always-successful helpers return void Ingyu Jang
2026-11-01 17:21 ` [PATCH 1/5] ALSA: hda: Make snd_hda_multi_out_analog_{prepare,cleanup}() " Ingyu Jang
2026-11-01 17:21 ` [PATCH 2/5] ALSA: ice1712: Make chip_init helpers " Ingyu Jang
2026-11-02  9:00   ` Takashi Iwai
2026-11-01 17:21 ` [PATCH 3/5] ALSA: cs4236: Make snd_cs423x_pnp_init_mpu() " Ingyu Jang
2026-11-01 17:21 ` [PATCH 4/5] ALSA: vx222: Make put_xilinx_data() " Ingyu Jang
2026-11-01 17:21 ` [PATCH 5/5] ALSA: ali5451: Make snd_ali_reset_5451() " Ingyu Jang
2026-11-02  9:00 ` [PATCH 0/5] ALSA: Make always-successful helpers " Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®