1
0
Fork 0

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>
utp
Sanchayan Maity 2015-10-26 18:28:49 +05:30 committed by Marek Vasut
parent 8991fdef6d
commit 6089f75141
1 changed files with 0 additions and 5 deletions

View File

@ -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 */