]> git.baikalelectronics.ru Git - kernel.git/commit
USB OTG Langwell: use simple IPC command to control VBus power.
authorHao Wu <hao.wu@intel.com>
Wed, 9 Mar 2011 12:41:08 +0000 (12:41 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Mar 2011 23:40:04 +0000 (15:40 -0800)
commit6019118a04fdc0072d3b95bc8105ab046974662d
tree3ac62987bd650b014feb25ba024b8e298ef4fc11
parent7020a756bf8795292e268689a7d3f705f5ad29f3
USB OTG Langwell: use simple IPC command to control VBus power.

Direct access to PMIC register is not safe and will impact battery
charging. New IPC command supported in SCU FW for VBus power control.
USB OTG driver will switch to such commands instead of direct access
to PMIC register for safety and SCU FW will handle the actual work
after got the request(IPC command).

Due to this change, usb driver should wait more time for sync OTGSC
with USBCFG by SCU. Update wait time from 2ms to 5ms.

Signed-off-by: Hao Wu <hao.wu@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/otg/langwell_otg.c