]> Pileus Git - ~andy/linux/commit
usb: musb: dsps: do not set is_active on the first drvbus interrupt
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 20 Aug 2013 16:35:48 +0000 (18:35 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 27 Aug 2013 19:18:38 +0000 (14:18 -0500)
commit9dfa36218dadf1821da5823773dd689b4e650e00
tree21e7b85b140e4d8888cf1f9cd4c3fec8739b7c14
parentc031a7d419340f30e66dc18fab4373ad646ca7e6
usb: musb: dsps: do not set is_active on the first drvbus interrupt

Quite early on init there is an vbus / drvvbus interrupt comming and the
dsps code sets is_active to one. As a result we see a lot of

|musb_bus_suspend 2459: trying to suspend as a_wait_bcon while active

until a device is plugged in with pm_runtime enabled in the kernel.
After checking davinci, am35, da8xx I noticed that dsps is actually the
only one doing this.
So remove it and we won't flooded with mesages and the idle port can be
suspended.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_dsps.c