usb: hub: Don't continue on get_port_status failure
authorMarek Vasut <marex@denx.de>
Tue, 3 May 2016 20:22:59 +0000 (22:22 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 6 May 2016 18:06:56 +0000 (20:06 +0200)
commitd81db48d418edc30301961781d8a64d7cc109dd4
tree0d1fe43a8672cbec56e89277e73a9dcec2afb8ba
parentef71290be9b70d8cfa63b506c7d93c5069f63c42
usb: hub: Don't continue on get_port_status failure

The code shouldn't continue probing the port if get_port_status() failed.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Stefan Roese <sr@denx.de>
Cc: Stephen Warren <swarren@nvidia.com>
common/usb_hub.c