Commit 8461352d authored by Kaixu Xia's avatar Kaixu Xia Committed by Takashi Iwai
Browse files

ALSA: firewire: fix comparison to bool warning



Fix the following coccicheck warning:

./sound/firewire/amdtp-stream.h:273:6-19: WARNING: Comparison to bool

Reported-by: default avatarTosk Robot <tencent_os_robot@tencent.com>
Signed-off-by: default avatarKaixu Xia <kaixuxia@tencent.com>
Link: https://lore.kernel.org/r/1604765611-8209-1-git-send-email-kaixuxia@tencent.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 1a6a071f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -270,7 +270,7 @@ static inline bool amdtp_stream_wait_callback(struct amdtp_stream *s,
					      unsigned int timeout)
{
	return wait_event_timeout(s->callback_wait,
				  s->callbacked == true,
				  s->callbacked,
				  msecs_to_jiffies(timeout)) > 0;
}