linux/sound/hda/codecs/hdmi
Takashi Iwai b0762dd2fc ALSA: hda: Add sync version of snd_hda_codec_write()
We used snd_hda_codec_read() for the verb write when a synchronization
is needed after the write, e.g. for the power state toggle or such
cases.  It works in principle, but it looks rather confusing and too
hackish.

For improving the code readability, introduce a new helper function,
snd_hda_codec_write_sync(), which is another variant of
snd_hda_codec_write(), and replace the existing snd_hda_codec_read()
calls with this one.

No behavior change but just the code refactoring.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20260409093826.1317626-2-tiwai@suse.de
2026-04-09 12:05:54 +02:00
..
atihdmi.c ALSA: hda/hdmi: Rewrite to new probe method 2025-07-11 09:55:38 +02:00
eld.c
hdmi_local.h ALSA: hda: Drop old codec binding method 2025-07-11 09:55:38 +02:00
hdmi.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
intelhdmi.c ALSA: hda: Add sync version of snd_hda_codec_write() 2026-04-09 12:05:54 +02:00
Kconfig ALSA: hda/hdmi: Restrict prompt only for CONFIG_EXPERT 2025-08-07 08:20:59 +02:00
Makefile ALSA: hda/hdmi: Enable drivers as default 2025-07-30 15:39:42 +02:00
nvhdmi-mcp.c ALSA: hda/hdmi: Fix breakage at probing nvhdmi-mcp driver 2025-11-06 11:49:35 +01:00
nvhdmi.c ALSA: hda/hdmi: Restore missing HDMI codec entries 2025-08-26 10:34:22 +02:00
simplehdmi.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
tegrahdmi.c ALSA: hda/hdmi: Add Tegra238 HDA codec device ID 2026-03-02 10:59:47 +01:00