usb: musb: wake the device before ulpi transfers
authorGrazvydas Ignotas <notasas@gmail.com>
Fri, 3 Feb 2012 16:00:28 +0000 (18:00 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 10 Feb 2012 14:19:15 +0000 (16:19 +0200)
musb can be suspended at the time some other driver wants to do ulpi
transfers using otg_io_* functions, and that can cause data abort,
as it happened with isp1704_charger:
http://article.gmane.org/gmane.linux.kernel/1226122

Add pm_runtime to ulpi functions to rectify this. This also adds io_dev
to otg_transceiver so that pm_runtime can be used.

Cc: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>

No differences found