aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/usb
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-04-26 10:29:10 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-04-27 17:48:58 +0000
commit9b41bae92129e579f2fbd003aa7e5e7b971cb881 (patch)
treeded3b3421bf60b477e29dd393b22fccb5483f314 /src/drivers/usb
parentf03daf7d29d78bc3f11babf9930a3cf498081fb2 (diff)
drivers/usb: Add spaces around '=='
Change-Id: If72ce868cdd06183e5055deb94b9d0cf12ed8738 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/25858 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/usb')
-rw-r--r--src/drivers/usb/gadget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/usb/gadget.c b/src/drivers/usb/gadget.c
index ee18bd6b48..37e97a3c1c 100644
--- a/src/drivers/usb/gadget.c
+++ b/src/drivers/usb/gadget.c
@@ -154,7 +154,7 @@ debug_dev_retry:
USB_REQ_GET_DESCRIPTOR, (USB_DT_DEBUG << 8), 0,
&dbgp_desc, sizeof(dbgp_desc));
if (ret == sizeof(dbgp_desc)) {
- if (dbgp_desc.bLength == sizeof(dbgp_desc) && dbgp_desc.bDescriptorType==USB_DT_DEBUG)
+ if (dbgp_desc.bLength == sizeof(dbgp_desc) && dbgp_desc.bDescriptorType == USB_DT_DEBUG)
goto debug_dev_found;
else
dprintk(BIOS_INFO, "Invalid debug device descriptor.\n");