aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanchayan Maity2015-10-26 18:28:49 +0530
committerMarek Vasut2016-01-16 07:06:55 +0100
commit6089f751411e9295ef88c5821fc37889d265dd0a (patch)
tree7487231b95ccd8cdbfe9eb67a975eaa2341db45e
parent8991fdef6d94b3c32722f413f399c3fce0b5061d (diff)
usb: host: ehci-vf: Remove hardcoded USB host client configuration
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>
-rw-r--r--drivers/usb/host/ehci-vf.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/usb/host/ehci-vf.c b/drivers/usb/host/ehci-vf.c
index 98e0fc6ca66..351e0fbb50b 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 */