summaryrefslogtreecommitdiffstats
path: root/drivers/mailbox/mailbox-altera.c
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2017-04-14 21:29:38 +0200
committerSebastian Reichel <sre@kernel.org>2017-05-01 11:41:37 +0200
commit19a2ee69c20255157738402b6fdbcf5d708dad80 (patch)
tree319d79b056c52e2184d9bf43416a9b8e271de1e0 /drivers/mailbox/mailbox-altera.c
parent3fb319c2cdcd10f775f4d4a05a7d12fa1a5679c1 (diff)
downloadblackbird-op-linux-19a2ee69c20255157738402b6fdbcf5d708dad80.tar.gz
blackbird-op-linux-19a2ee69c20255157738402b6fdbcf5d708dad80.zip
power: supply: twl4030-charger: don't check if battery is present
We can't assume that the battery is or stays present after probing on devices with replaceable battery. On some devices (e.g. GTA04 or OpenPanodra) it can be removed and even be hot swapped by the user while device continues to operate through external AC or USB power (as long as system power consumption remains below ca. 500mA as provided by USB). Under certain conditions it is possible to boot without battery. So it makes no sense to check for this situation during probe and make the charger driver (and its status reports) completely non-operational if the battery can be inserted later. Tested on: GTA04 and OpenPandora. Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'drivers/mailbox/mailbox-altera.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud