ALSA: cs423x: Fix assignment in if condition
authorTakashi Iwai <tiwai@suse.de>
Tue, 8 Jun 2021 14:04:41 +0000 (16:04 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 9 Jun 2021 15:29:43 +0000 (17:29 +0200)
commit235dc07a35b96ea181dc7ab872ef82197e5fc056
treecec90daf17919d217b6e6c75c7b791c0c46d12d9
parent520226e93e2620e027bde67a75025b3d61916a40
ALSA: cs423x: Fix assignment in if condition

ISA CS423x driver code contains lots of 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-8-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/cs423x/cs4236.c
sound/isa/cs423x/cs4236_lib.c