From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Date: Sun, 21 Jun 2015 09:00:32 +0100 Subject: [U-Boot] [PATCH 2/3] sunxi: musb: Stop treating not having a vbus-det gpio as an error In-Reply-To: <1434814509-21484-3-git-send-email-hdegoede@redhat.com> References: <1434814509-21484-1-git-send-email-hdegoede@redhat.com> <1434814509-21484-3-git-send-email-hdegoede@redhat.com> Message-ID: <1434873632.17598.3.camel@hellion.org.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, 2015-06-20 at 17:35 +0200, Hans de Goede wrote: > On some boards the otg is wired up in host-only mode in this case we > have no vbus-det gpio. > > Stop logging an error from sunxi_usb_phy_vbus_detect() in this case, and > stop treating sunxi_usb_phy_vbus_detect() returning a negative errno, as > if a charger is plugged into the otg port. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell