]> git.sur5r.net Git - u-boot/commit
usb: xhci: (likely) fix bracket in if condition
authorJeroen Hofstee <jeroen@myspectrum.nl>
Wed, 11 Jun 2014 22:31:27 +0000 (00:31 +0200)
committerMarek Vasut <marex@denx.de>
Wed, 25 Jun 2014 20:43:16 +0000 (22:43 +0200)
commit25d1936a192ac62b8df5dc33e37455dcaeb19fae
tree88f55ecdd0b7002bc1b63566b34df9f78340fcf3
parent19a2a67fa27ac5bf50808bbded5c19279c7d86e5
usb: xhci: (likely) fix bracket in if condition

Because of the brackets the & and && is evaluated before
the comparison. This is likely not the intention. Change
it to test the first and second condition to both be true.

cc: Marek Vasut <marex@denx.de>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
drivers/usb/host/xhci.c