ALSA: trident: Fix assignment in if condition
authorTakashi Iwai <tiwai@suse.de>
Tue, 8 Jun 2021 14:05:24 +0000 (16:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 9 Jun 2021 15:30:20 +0000 (17:30 +0200)
commit34b946ee28699b0d80e3a4fe667e31ea7b95fb85
treee9d3d217649880de6a485905cedcf02ccebf0367
parent9ebb3697c8efaa6bf7ea9559f2637acd8eb3b45c
ALSA: trident: Fix assignment in if condition

PCI Trident 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-51-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/trident/trident.c
sound/pci/trident/trident_main.c