All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/3] usb: host: ehci-vf: Remove hardcoded USB host client configuration
@ 2015-10-26 12:58 Sanchayan Maity
  2015-10-26 12:58 ` [U-Boot] [PATCH 2/3] usb: host: ehci-vf: Implement board_usb_phy_mode weak function Sanchayan Maity
                   ` (3 more replies)
  0 siblings, 4 replies; 36+ messages in thread
From: Sanchayan Maity @ 2015-10-26 12:58 UTC (permalink / raw)
  To: u-boot

The current ehci-vf USB driver for Vybrid hardcodes the USB host
and client functionality. Remove this.

Reported-by: Santhosh Kumar Janardhanam <santhosh.kj@hcl.com>
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
---
 drivers/usb/host/ehci-vf.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/usb/host/ehci-vf.c b/drivers/usb/host/ehci-vf.c
index 98e0fc6..351e0fb 100644
--- a/drivers/usb/host/ehci-vf.c
+++ b/drivers/usb/host/ehci-vf.c
@@ -134,11 +134,6 @@ int ehci_hcd_init(int index, enum usb_init_type init,
 	if (index >= ARRAY_SIZE(nc_reg_bases))
 		return -EINVAL;
 
-	if (init == USB_INIT_DEVICE && index == 1)
-		return -ENODEV;
-	if (init == USB_INIT_HOST && index == 0)
-		return -ENODEV;
-
 	ehci = (struct usb_ehci *)nc_reg_bases[index];
 
 	/* Do board specific initialisation */
-- 
2.6.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2016-01-08 14:02 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-26 12:58 [U-Boot] [PATCH 1/3] usb: host: ehci-vf: Remove hardcoded USB host client configuration Sanchayan Maity
2015-10-26 12:58 ` [U-Boot] [PATCH 2/3] usb: host: ehci-vf: Implement board_usb_phy_mode weak function Sanchayan Maity
2016-01-08 12:22   ` maitysanchayan at gmail.com
2016-01-08 14:02     ` Marek Vasut
2015-10-26 12:58 ` [U-Boot] [PATCH 3/3] colibri_vf: Add board_usb_phy_mode function Sanchayan Maity
2015-10-27  9:18   ` Marek Vasut
2015-10-27 11:34     ` maitysanchayan at gmail.com
2015-10-29 10:15   ` [U-Boot] [PATCH v2] " Sanchayan Maity
2015-10-29 17:25     ` Marek Vasut
2015-10-30 12:26     ` [U-Boot] [PATCH v3] " Sanchayan Maity
2015-10-30 13:20       ` Marek Vasut
2015-11-06  7:00         ` maitysanchayan at gmail.com
2015-11-06 15:00           ` Marek Vasut
2015-10-30 16:12       ` Stefan Agner
2015-10-30 16:24         ` Marek Vasut
2015-10-30 16:26           ` Stefan Agner
2015-10-30 17:07             ` Marek Vasut
2015-11-09 14:59       ` [U-Boot] [PATCH v4] " Sanchayan Maity
2015-11-09 15:22         ` Marek Vasut
2015-11-12  6:17         ` [U-Boot] [PATCH v5] " Sanchayan Maity
2015-11-24 10:23           ` maitysanchayan at gmail.com
2015-11-24 10:30             ` Marek Vasut
2015-11-24 10:37             ` Stefano Babic
2015-11-24 10:38               ` maitysanchayan at gmail.com
2016-01-07 20:02               ` maitysanchayan at gmail.com
2016-01-07 21:12                 ` Stefano Babic
2016-01-08  5:50                   ` maitysanchayan at gmail.com
2016-01-08 12:11                     ` Marek Vasut
2016-01-08 12:18                       ` maitysanchayan at gmail.com
2016-01-08 12:25                         ` Marek Vasut
2015-10-26 19:19 ` [U-Boot] [PATCH 1/3] usb: host: ehci-vf: Remove hardcoded USB host client configuration Marek Vasut
2015-10-27  3:28   ` maitysanchayan at gmail.com
2016-01-08 12:20 ` maitysanchayan at gmail.com
2016-01-08 12:26   ` Marek Vasut
2016-01-08 12:26     ` maitysanchayan at gmail.com
2016-01-08 14:02   ` Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.