]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ALSA: x86: simplify with sync_stop PCM ops
authorTakashi Iwai <tiwai@suse.de>
Mon, 12 Jul 2021 09:19:15 +0000 (11:19 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Jul 2021 11:13:26 +0000 (13:13 +0200)
commit82a60352c2d3ef06815d4ddfd85d5506b5758804
tree4f0750e10a68c4ab411c355394ed8f7f0d579ae0
parent3b0f7eeff697b04571a5c6329b7e8fdf8f8c85d9
ALSA: x86: simplify with sync_stop PCM ops

The reset procedure in had_do_reset() is exactly for the recently
introduced PCM sync_stop ops.  Replace the call with the new ops and
clean up the unnecessary code and flags.

Link: https://lore.kernel.org/r/20210712091915.28067-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/x86/intel_hdmi_audio.c
sound/x86/intel_hdmi_audio.h