diff options
author | Tom Rini <trini@konsulko.com> | 2021-12-09 08:43:30 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-12-09 08:43:30 -0500 |
commit | 1530ad5becf330c6094e995e340d920df2b43699 (patch) | |
tree | c8757eb5ff74c48de9802e48474555da08535145 /board/sunxi/board.c | |
parent | 558002a0f2230bedf6b38716f3ed86a92fc9010b (diff) | |
parent | fbd9207e7fe3712b372ca9889a2a82402161fd27 (diff) |
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sunxi
This fixes two regressions: eMMC operation on boards with WiFi (so using
three MMC devices), and a repeated wrong error message in USB gadget
mode (fastboot, ums).
Diffstat (limited to 'board/sunxi/board.c')
-rw-r--r-- | board/sunxi/board.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/board/sunxi/board.c b/board/sunxi/board.c index 4f5747c34a..fdbcd40269 100644 --- a/board/sunxi/board.c +++ b/board/sunxi/board.c @@ -698,13 +698,7 @@ int g_dnl_board_usb_cable_connected(void) return ret; } - ret = sun4i_usb_phy_vbus_detect(&phy); - if (ret == 1) { - pr_err("A charger is plugged into the OTG\n"); - return -ENODEV; - } - - return ret; + return sun4i_usb_phy_vbus_detect(&phy); } #endif |