ALSA: isa: Fix assignment in if condition
authorTakashi Iwai <tiwai@suse.de>
Tue, 8 Jun 2021 14:04:48 +0000 (16:04 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 9 Jun 2021 15:29:48 +0000 (17:29 +0200)
commiteb767949f709aeca0b21232ecc456d2f4bd9a419
tree968454004303b3be62b9d5789bc1794edd6a50ac
parent115c45565385e655ddcf861e631b0b8bba56a988
ALSA: isa: Fix assignment in if condition

ISA ES1688 and WSS  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-15-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/es1688/es1688_lib.c
sound/isa/wss/wss_lib.c