summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorArun Murthy <arun.murthy@stericsson.com>2011-10-21 12:20:05 +0530
committerSrinidhi KASAGAR <srinidhi.kasagar@stericsson.com>2011-10-21 13:44:56 +0200
commitd71781ed125fbb87361582f8b577798b12a33c41 (patch)
treedcc76b3ab826233249ce209f5020a2f041d139fd /arch
parent40bf1212b9be5d866d2753464df2438b78b07acf (diff)
power:ab5500-charger: check the usb type in notifier call
When a usb notifier is called, update the notified current only if the plugge in device is a standard host else do not update the current just return. The notifier call that is called in the usb driver is not only for the battery driver but other usb instances, hence usb cannot stop calling the notifier call and do a check to call only if it is a standard host. Hence this check is done in the battery driver, and if relevant update else just return. ST-Ericsson Linux next: NA ST-Ericsson ID: 362955 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I83026aba60b8a60c9f80e2a699b8eded285f8a09 Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34799 Reviewed-by: Mian Yousaf KAUKAB <mian.yousaf.kaukab@stericsson.com> Reviewed-by: QABUILD Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions