usb: gadget: qdss: Fix overlapping comparison operators
The conditional check in qdss_enable_debug_inface_store() ensures that the
user input is either a 1 or 0. However, the comparison check used has
overlapping conditions, leading to a compile warning/error. Change the
operators to check explicitly for 1 or 0 to avoid this.
Change-Id: I582cd0ab56815b434818744f597f867fbf3abce2
Signed-off-by:
Wesley Cheng <wcheng@codeaurora.org>
Loading
Please register or sign in to comment