ALSA: mixart: Fix assignment in if condition
authorTakashi Iwai <tiwai@suse.de>
Tue, 8 Jun 2021 14:05:18 +0000 (16:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 9 Jun 2021 15:30:15 +0000 (17:30 +0200)
commit73debecf8fe0b313c4b8d51bef3a043c6705b5d0
tree6ea249fbed087ea23bcf9aa4a59214bbf1d53af4
parent234e928067ced2c8021b71a1d5c08f9d8df49644
ALSA: mixart: Fix assignment in if condition

PCI miXart driver code contains a few assignments in if condition,
which is a bad coding style that may confuse readers and occasionally
lead to bugs.

This patch is merely for coding-style fixes, no functional changes.

Link: https://lore.kernel.org/r/20210608140540.17885-45-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/mixart/mixart.c
sound/pci/mixart/mixart_hwdep.c
sound/pci/mixart/mixart_mixer.c