From: Grazvydas Ignotas Date: Wed, 21 Mar 2012 14:35:52 +0000 (+0200) Subject: usb: musb: wake the device before ulpi transfers X-Git-Tag: v3.4-rc4~14^2~14^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf070bc14178f1458e7eccd76316ac24f76f1890;p=pandora-kernel.git usb: musb: wake the device before ulpi transfers musb can be suspended at the time some other driver wants to do ulpi transfers using usb_phy_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 usb_phy so that pm_runtime_* functions can be used. Cc: Felipe Contreras Signed-off-by: Grazvydas Ignotas Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed