ALSA: parisc: Fix assignment in if condition
authorTakashi Iwai <tiwai@suse.de>
Tue, 8 Jun 2021 14:05:40 +0000 (16:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 9 Jun 2021 15:30:39 +0000 (17:30 +0200)
commit6ea9a2b84cc354ffd028195edb4e3d60d47f7bcb
tree7efd715d61e909e96cc096f8cad635e73edf6496
parentdd1431e53515e5760c03975a0a35aef75924a66d
ALSA: parisc: Fix assignment in if condition

PARISC harmony driver code contains an assignment 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-67-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/parisc/harmony.c