summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb
diff options
context:
space:
mode:
authorAfzal Mohammed <afzal@ti.com>2012-11-02 22:02:35 +0530
committerFelipe Balbi <balbi@ti.com>2012-11-06 15:01:36 +0200
commit3b46dd76a9b3ce25a5177f61eed844f85ddb3ca6 (patch)
treea08d842b70f4f5e8b3739fc59c4c904b8ce1fd76 /drivers/usb/musb
parent12fc9266dec3706ece7c4aafefc60d429149c3bd (diff)
downloadop-kernel-dev-3b46dd76a9b3ce25a5177f61eed844f85ddb3ca6.zip
op-kernel-dev-3b46dd76a9b3ce25a5177f61eed844f85ddb3ca6.tar.gz
usb: musb: dsps: reduce musb instance to one
Currently multiple phy's of the same type are not supported, hence reduce musb instances to one. This helps in supporting at least one instance of musb, rather than having none. Even without this, it was observed that both instances were working (by luck), but this holds good iff wrapper is part of Image. And it is not correct for both controller's to be associated with same phy, here it was working because phy is a nop one. And having wrapper as a module and rmmod'ing would crash. This can be reverted once multi phy support for same type is available and driver is enhanced to make use of it. Signed-off-by: Afzal Mohammed <afzal@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r--drivers/usb/musb/musb_dsps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c
index 465bbf7..72d7460 100644
--- a/drivers/usb/musb/musb_dsps.c
+++ b/drivers/usb/musb/musb_dsps.c
@@ -676,7 +676,7 @@ static const struct dsps_musb_wrapper ti81xx_driver_data __devinitconst = {
.rxep_bitmap = (0xfffe << 16),
.musb_core_offset = 0x400,
.poll_seconds = 2,
- .instances = 2,
+ .instances = 1,
};
static const struct platform_device_id musb_dsps_id_table[] __devinitconst = {
OpenPOWER on IntegriCloud