ALSA: ad1889: Fix assignment in if condition
authorTakashi Iwai <tiwai@suse.de>
Tue, 8 Jun 2021 14:04:49 +0000 (16:04 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 9 Jun 2021 15:29:49 +0000 (17:29 +0200)
commite2e30a32f34a08507125fbbc82d2589446cf8fe9
tree79a5272a5ad957d5c04c28a6d226db1d5f7ecf02
parenteb767949f709aeca0b21232ecc456d2f4bd9a419
ALSA: ad1889: Fix assignment in if condition

PCI AD1889 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-16-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ad1889.c