>From c6f107d19d2742c4e55e1bc37bef9a2737b89a3b Mon Sep 17 00:00:00 2001
In-Reply-To: 
<fe5c5dd15b64672afb0987b55751ce1bc2331af6.1391455804.git.hramr...@gmail.com>

fix by Hans de Goede <[email protected]>

Signed-off-by: Michal Suchanek <[email protected]>
---
 drivers/usb/host/sw_hci_sunxi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/sw_hci_sunxi.c b/drivers/usb/host/sw_hci_sunxi.c
index ea70f83..5dc4103 100644
--- a/drivers/usb/host/sw_hci_sunxi.c
+++ b/drivers/usb/host/sw_hci_sunxi.c
@@ -198,7 +198,7 @@ static void UsbPhyInit(__u32 usbc_no)
        /* DMSG_DEBUG("csr2-1: usbc%d: 0x%x\n", usbc_no, 
(u32)USBC_Phy_Read(usbc_no, 0x20, 5)); */
 
        /* 调节 disconnect 域值 */
-       if (sunxi_is_sun5i())
+       if (!sunxi_is_sun4i())
                USBC_Phy_Write(usbc_no, 0x2a, 2, 2);
        else
                USBC_Phy_Write(usbc_no, 0x2a, 3, 2);
-- 
1.7.10.4


-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to