usb: gadget: tegra: Allow device to charge in LP0
USB Driver changes state from Peripheral to Suspend
while going to LP0, in that process it sets charging
current limit to '0'. This makes charger to disconnect.
Do not set current limit to '0' while going to suspend
and set current on resume if cable is removed/changed.
Bug
1406615
Change-Id: I49ce9528cba4c22b64d4b68b263affec305aac0c
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/334968
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>