ALSA: timer: Adjust a condition check in snd_timer_resolution()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 23 Aug 2017 07:45:06 +0000 (09:45 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 23 Aug 2017 08:37:15 +0000 (10:37 +0200)
commitdd1f7ab8a88ddc8fbb304aaca25f549e26fa8529
tree78265f4e8b546ba395dfde608a47474104c26119
parentc8da9be4a75f1f63024a16b976c5be47405c13dc
ALSA: timer: Adjust a condition check in snd_timer_resolution()

The script "checkpatch.pl" pointed information out like the following.

ERROR: do not use assignment in if condition

Thus fix the affected source code place.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/timer.c