]> www.infradead.org Git - users/dwmw2/linux.git/commit
ALSA: ctxfi: Simplify dao_clear_{left,right}_input() functions
authorEthan Carter Edwards <ethan@ethancedwards.com>
Mon, 20 Jan 2025 01:10:30 +0000 (20:10 -0500)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Jan 2025 08:26:20 +0000 (09:26 +0100)
commite576e7843c0d65b82d4092e5b386d9fbf5bc10c3
tree3261af5a9379e313d54ae8c7d89b07fe35053aec
parent7bba999e939f6d20e4db66effeecc179ed896496
ALSA: ctxfi: Simplify dao_clear_{left,right}_input() functions

There was a lote of code duplication in the dao_clear_left_input() and
dao_clear_right_input() functions. A new function, dao_clear_input(),
was created and now the left and right functions call it instead of
repeating themselves.

Link: https://lore.kernel.org/lkml/NyKCr2VHK_xCQDwNxFKKx2LVd2d_AC2f2j4eAvnD9uRPtb50i2AruCLOp6mHxsGiyYJ0Tgd3Z50Oy1JTi5gPhjd2WQM2skrv7asp3fLl8HU=@ethancedwards.com/
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
Link: https://patch.msgid.link/x3glr6fetk7d7hlqimkv6g5krz2oibe7yusms3d7zk4ofrhlrx@75avihssncc5
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ctxfi/ctdaio.c