Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b3943b3 authored by Valentin Vidic's avatar Valentin Vidic Committed by Greg Kroah-Hartman
Browse files

staging: pi433: remove comparison with true



Fixes checkpatch warning for error prone comparison.

Signed-off-by: default avatarValentin Vidic <Valentin.Vidic@CARNet.hr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent de71b5bd
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -638,7 +638,7 @@ pi433_tx_thread(void *data)
		 */
		 */
		wait_event_interruptible(device->tx_wait_queue,
		wait_event_interruptible(device->tx_wait_queue,
					 !device->rx_active ||
					 !device->rx_active ||
					  device->interrupt_rx_allowed == true);
					  device->interrupt_rx_allowed);


		/* prevent race conditions
		/* prevent race conditions
		 * irq will be reenabled after tx config is set
		 * irq will be reenabled after tx config is set