usb: otg: tegra: callback for otg plug/un-plug notificaton
authorSyed Rafiuddin <srafiuddin@nvidia.com>
Thu, 19 Apr 2012 04:56:41 +0000 (09:56 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 23 Apr 2012 09:14:11 +0000 (14:14 +0530)
commit9548dae6708fcbe2e88cf0ffa63040ce2afea564
tree7c196eecf2c9022a74132a849d091511fd521a21
parentc288075d47fc56b19c5b202a4c80ca0bc0dea231
usb: otg: tegra: callback for otg plug/un-plug notificaton

Addition of callback function to nofity the plug and
un-plug of OTG cable to charger driver.

Change-Id: I6b16d051cafe0799cffe8a05d1510da27e841f8b
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/97514
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chandler Zhang <chazhang@nvidia.com>
Tested-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/usb/otg/tegra-otg.c