diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-04-26 10:29:10 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-04-27 17:48:58 +0000 |
commit | 9b41bae92129e579f2fbd003aa7e5e7b971cb881 (patch) | |
tree | ded3b3421bf60b477e29dd393b22fccb5483f314 /src | |
parent | f03daf7d29d78bc3f11babf9930a3cf498081fb2 (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')
-rw-r--r-- | src/drivers/usb/gadget.c | 2 |
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"); |