Age | Commit message (Collapse) | Author |
|
Update correct status to fuel-gauge driver
when charger cable is disconnected.
Bug 960318
Change-Id: I4c3ad2030ada7c06825e80a3eb4697b669fe7cb6
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/98719
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Configure i2c client structure in update charger structure
only when the charger driver is in use.
If charger driver is not used return -ENODEV
Change-Id: Ib1bc99145ee75bea819f69157920f9096e5d40ba
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/98712
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Vcell is calculated based on upper 12msb's of ADC result.
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/95830
(cherry picked from commit e550636d9b03207b9d4fecf078168175964d85fd)
Change-Id: Ic2834d8c8576b938e9d7d400c2beeb459ddeb5fc
Reviewed-on: http://git-master/r/98669
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
configure fuel-gauge to enter and exit hibernate mode
Change-Id: Ifaa471a4b796fc1aa2b30f109091227eb19cf6ae
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/97900
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
bug 949219
Change-Id: I5942ba86bd1cbe1f1bd06a7c9f51a10d83e6cabb
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/92819
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
Addition of reglator interface to detect the usb cable
plug/unplug detection.
Bug 961166
Bug 966874
Change-Id: Ida297bc39df9aca8cffe60c29bc24f2d32819f56
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/96440
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
|
|
Correct max17048_read_word() function related i2c error handling
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/93702
(cherry picked from commit ba8bdc020c6e2ed57255786b3d61b870b0b5a516)
Change-Id: Ice9845bb39288442bd6637eedeaf6de6ad1acbda
Reviewed-on: http://git-master/r/95346
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chandler Zhang <chazhang@nvidia.com>
Tested-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
|
|
Addition of health and capacity level properties
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/93532
(cherry picked from commit 9892e1c30828bdcbf6ae53af72bb1a39cd19993e)
Change-Id: I28e9822772316ba7389a3c9518cf4778606dbfb7
Reviewed-on: http://git-master/r/95345
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chandler Zhang <chazhang@nvidia.com>
Tested-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
|
|
Check returned value from BPC set limit api, and re-try again
on error. Keep CPU throttled while re-trying.
Signed-off-by: Alex Frid <afrid@nvidia.com>
(cherry picked from commit 8d5e5a36a03587e3e9374ad8cec6958bd3617f0c)
Change-Id: I29b24a92b87cbd41d68473d0c9ef4c8d6add992f
Reviewed-on: http://git-master/r/93732
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
bug 949219
Change-Id: I56904b3607c92281076ae3245ee1071922763eb8
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/92557
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Gerrit_Virtual_Submit
|
|
Allows OTG enable/disable only while USB OTG state
swithes between SUSPEND and HOST
Bug 937188
Change-Id: If651dfb19db37f8822e6d1473aa573246aca8d45
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/89111
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
Add update charging status at probe to fix unknown charging status.
Bug 951750
Change-Id: I5d828b38adfe74531925be4356d50214f8f8522e
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/89437
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Add update_charger_status() function callback to fix unknown
charging status at start up issue.
Bug 951750
Change-Id: Ib264479b0a251a07d136c245afa85c3444754ee0
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/89436
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
1. Turn PGOOD to active low when OTG is enabled
2. Free irq in error handling and smb349_remove
Bug 937188
Change-Id: I94a58c8dfd9066034335ec4507b80d1607fe029f
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/89028
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
Addition of OTG support in smb349 charger driver
Change-Id: Ib38c9f4c06285ae07d93cfa3c6f5e1637aaa9460
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/86936
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
|
|
-Addition of interrupt support to update charger
properties to fuel-gauge driver.
Change-Id: If6384921247b6534f2d8142ad5fd079c5f6e0890
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/83507
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
|
|
- Addition of battery custom data to max17048 driver
- Update battery properties like online and charging/discharging
status instantaneously based on the interrupt.
Change-Id: I84f4833caf4c25fb4d73c74c9e986084bb33a94a
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/83505
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
Calculation of register bits from charging current is not correct.
Fixing the calculation using lookup table.
Change-Id: I76f7612288eafd96e00ea73674556b7609d09248
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/85680
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com>
|
|
Exit max17048 driver when battery is not detected on KAI
platform.
Change-Id: I2d98f0a7635c6adc047c58040170b9e37e95b1ef
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/80074
Reviewed-by: Liangchuan Mi <lmi@nvidia.com>
Tested-by: Liangchuan Mi <lmi@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
|
|
This patch adds Kconfig and Makefile changes to smb349 driver
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/78292
(cherry picked from commit 2ffb0d06c5b2cda4dfde283257f2dd4f4d6f8300)
Change-Id: Icdb98cadafdcefd84011c92f846cf03f176e448f
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/82704
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
This patch enables Kconfig and Makefile option
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/78289
(cherry picked from commit b0bc7843eff62ff0a0d2476645fb96b1b947baa4)
Change-Id: Ib5928f88d041731b95713a97f894a0ee3a28ae1c
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/82701
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
|
|
Addition of initial max17048 fuel-gauge driver for maxim's max17048
chipset used in kai platform.
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/78210
(cherry picked from commit edb662a31ba9312227653c3211f23e853ade8d0a)
Change-Id: I78569e112488ed5d99a07e8a26dc912416e78ad5
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/79979
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Smb349 battery charger driver for kai platform.
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/78211
(cherry picked from commit f059c9db2735a6e0088dd9cd61a623b13b5d717e)
Change-Id: Ifa401713928d29bb4235353e50b66e632c7625ba
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/79980
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
In the probe function of the bq20z75 driver, check for the presence of the
bq20z75. If there is no response from device, terminate the driver
initialization.
Bug 932030
Change-Id: I6608eaea6b6b37b18d3f77f40d58c1f8e9b05b3c
Signed-off-by: Ramalingam C <ramalingamc@nvidia.com>
Reviewed-on: http://git-master/r/78750
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Rhyland Klein <rklein@nvidia.com>
|
|
bq27x00 takes 3 to 4 second to update charging/discharging
status so it requires to schedule work after 4 second on
external powersupply change.
Bug 902678
Change-Id: Ic5b42804ee3cd98ffab762c042bad447934eba85
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/72411
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
This driver reduces CPU frequency in half by setting the CCLK_DIVIDER on
GPIO level triggered event by current monitoring device. It then calls
dvfs apis to reduce cpu frequency/voltage.
Change-Id: I703e2277243df5328ee6a46478ec8b7a3dab93aa
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/68794
Reviewed-on: http://git-master/r/69103
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
|
|
Generally boards define platform data structs as
__initdata. Due to this, it is not available in
the driver as a pointer. The driver needs to copy
the platform data to its context in order to use
it after _probe exits.
Change-Id: If6a4944f0f3cbb835e56d915cf5eee34d0de374d
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
|
|
See regulator: Remove supply_regulator_dev from machine configuration
commit 492c826b9facefa84995f4dea917e301b5ee0884
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Rebase-Id: Rf631c8735735dbc45e3ed53da7de8965490df8d0
|
|
Conflicts:
arch/arm/mach-tegra/Kconfig
arch/arm/mach-tegra/board-ventana.c
drivers/misc/Kconfig
drivers/video/tegra/dc/hdmi.c
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
|
|
Addition of AC power supply property (POWER_SUPPLY_PROP_ONLINE)
so as to display power plug as AC while charging from usb
wall charger.
Reviewed-on: http://git-master/r/61832
(cherry picked from commit 08b38c5bad9fb999c48a37d295af4b7f46f72cff)
Change-Id: I34af095c06c94bf42ed934d03992647a4f163cb1
Reviewed-on: http://git-master/r/64092
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: Rca4e2cbed914b0d246fa5b2e28f98e052f7c5fd0
|
|
Exit fuel-gauge driver if battery presence is not detected.
bug 873965
Reviewed-on: http://git-master/r/61830
(cherry picked from commit 149469646e1e5e7ece787ef9546de60a97b46802)
Change-Id: I00139f1a92822875fb1409a918c580b83d4789f0
Reviewed-on: http://git-master/r/64090
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: Rebb08c9d9cbe6a3bb2a3bcaf4cc89beceb55c480
|
|
Bug 877456
Change-Id: Ie276daa13feb6702791fab36f7fa88c3811ed3bb
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/64030
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Rebase-Id: R2a2430d7ae7c1a4262682bd4e537b519d055f98a
|
|
- Addition of temperature, charge_now and charge counter
properties to fuel-gauge controller
- Fixed the voltage reading as linux power class requires
uV as voltage unit instead of mV
bug 872686, 872697
Reviewed-on: http://git-master/r/56988
(cherry picked from commit df7b02de84e4665516caed2f1e00da60d868b1de)
Change-Id: Iabad1f4fdc0431a3070d8ee3558aaf010e667853
Reviewed-on: http://git-master/r/61860
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Rebase-Id: R3192775354d90ef7923ad43bd5f4554b8ff7d8cc
|
|
Adding api which provides the mechanism to getting charging status.
bug 872697
Reviewed-on: http://git-master/r/56625
(cherry picked from commit 4c271cf84923cd5ae9225f41a1a665b116cb974a)
Change-Id: Ibd88cbb568ac65f992a8142934017ed468268d72
Reviewed-on: http://git-master/r/57808
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Rebase-Id: R45759b0f319acd29663aa1c23658f094caa6a06f
|
|
CYCLE_COUNT was added upstream in 3.0
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Rebase-Id: R5d0decc5408671c59c11f3367a8a2a9bfa6d8583
|
|
-Add dev_pm_ops and pass it to i2c_driver's pm.
-Removes following warnings:
i2c-core: driver [bq27x00-battery] using legacy suspend method
i2c-core: driver [bq27x00-battery] using legacy resume method
Bug 872590
Change-Id: I395b7010995c41c22ff66386bb1f358aca4736c0
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/50859
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Gerrit_Virtual_Submit
Rebase-Id: Recd57e8235a638d2a9fa8e716debac86921fef02
|
|
-Removes compilation errors of missing i2c client.
-Driver was using mix of i2c_transfer and smbus read/write and
not using any locking mechanism to serialize it. Due to that
when they are called simultaneously, it gives garbage data. If
it is reading temperature and is out of range than android
will shutdown the device.
-Added i2c write and ctrl_read functions.
-Replaced smbus read/write with related i2c_transfer functions.
Bug 872590
Reviewed-on: http://git-master/r/#change,50858
(cherry picked from commit 403577f6741987457821035ba2822f75116032b5)
Change-Id: I95f3506efb335aa82ce6ebce69363d4226fe7696
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/56610
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: Rdf1fb7dc797aa4c47ef13a907e841a2608d2922f
|
|
-Driver is registering battery device even if battery is not
connected so moved powersupply init after battery detection.
Bug 872590
Change-Id: I7864ee357162a596d023af3bdbe17cfa8b9c390f
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/56220
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: R0a353ec0cf3fb6b5b9536abf30253a96dc1a91cd
|
|
-Correct error condition for request_any_context_irq. It will
remove warnings.
-Use cansleep version of gpio_get_value.
Bug 872590
Change-Id: Ic5c9aaa8a867a9c8381fad457c8a972f99b64df0
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/54662
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Rebase-Id: R0c17837b3007f4e7bb1c6dc06f65c67ee175ce48
|
|
Checking for valid platform data before registering the driver
as regulator.
bug 868483
Original-Change-Id: I630d55f4e60f296d9e9a05455b97e72186f09e19
Reviewed-on: http://git-master/r/49224
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Rebase-Id: Rb2d75be1e54c9260c028a5526dfbf416853628e4
|
|
Adding battery-gauge driver for TPS8003x controller
bug 841080
Original-Change-Id: Id65c3de88e6893005a8d7590fc7273cd7c43a1b3
Reviewed-on: http://git-master/r/48428
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Rebase-Id: R231e287e3ffa10bf03f9b599ab9b80ffb2acd727
|
|
Adding battery charger driver for tps80031.
bug 841080
Original-Change-Id: Id5bd717f4784b9bb48b2c2cb0b1b16a8a85aa830
Reviewed-on: http://git-master/r/48361
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Rebase-Id: Rae0d4723273b65c6a30820a876c8a8499bb69cf3
|
|
Addition of Health property which informs the health of the battery
like good, dead and over charge.
Bug 786669
Original-Change-Id: I4ed3684ec4e777d110f3c5bd2a062ac5be22c6e2
Reviewed-on: http://git-master/r/30505
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: R6786a07368846c217fa2c298df565423a1c63bbb
|
|
Adding fuel-gauge driver support for
bq27510-g2 chipset
Original-Change-Id: Id8d42d2c166d6ec33ef015b53d456e98a8a52721
Reviewed-on: http://git-master/r/22524
Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Original-Change-Id: Iaa01d895f6396db8cee679fe159ed192ed10c11f
Rebase-Id: R2b7f447794ee62762d774577279a2ada98030883
|
|
max8907c Charger Driver from maxim plus nvidia modifications
Integration from http://git-master/r/#change,15043
Original-Change-Id: I8143fee9c99b43ad1089613236410dc8ad5bbca0
Reviewed-on: http://git-master/r/16134
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Rebase-Id: R14961f2b240e4d3019836231b1be9e719b5f478b
|
|
If the platform data sets the use_otg_notifier flag,
the driver will now register an otg notifier callback and listen
to transceiver events for AC/USB plug-in events instead. This would
normally be used by not specifying is_xx_online callbacks and
not specifying any irqs so the state machine is completely driven
from OTG xceiver events.
Change-Id: Ic4b3bc4010f299156e41fd2411696c7ff5a88e92
Signed-off-by: Dima Zavin <dima@android.com>
|
|
pending
When connecting usb or the charger the device would often go back to sleep
before the charge led and screen turned on.
Change-Id: I01def6d86ddece0d4e31d2a91d176ed0975b6b9d
Signed-off-by: Arve Hjønnevåg <arve@android.com>
|
|
commit 0e053fcbbbc4d945247cb32cad2767b483cb65f8 upstream.
Fixes the deadlock when inserting and removing the ds2780.
Signed-off-by: Clifton Barnes <cabarnes@indesign-llc.com>
Cc: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
commit 853eee72f74f449797f0500ea19fc1bf497428d8 upstream.
Simply creates one point to call the w1 interface.
Signed-off-by: Clifton Barnes <cabarnes@indesign-llc.com>
Cc: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
Add linux/module.h to fix this compilation error:
drivers/power/s3c_adc_battery.c:435:15: error: expected declaration specifiers or ‘...’ before string constant
drivers/power/s3c_adc_battery.c:435:1: warning: data definition has no type or storage class
drivers/power/s3c_adc_battery.c:435:1: warning: type defaults to ‘int’ in declaration of ‘MODULE_AUTHOR’
drivers/power/s3c_adc_battery.c:435:15: warning: function declaration isn’t a prototype
drivers/power/s3c_adc_battery.c:436:20: error: expected declaration specifiers or ‘...’ before string constant
drivers/power/s3c_adc_battery.c:436:1: warning: data definition has no type or storage class
drivers/power/s3c_adc_battery.c:436:1: warning: type defaults to ‘int’ in declaration of ‘MODULE_DESCRIPTION’
drivers/power/s3c_adc_battery.c:436:20: warning: function declaration isn’t a prototype
drivers/power/s3c_adc_battery.c:437:16: error: expected declaration specifiers or ‘...’ before string constant
drivers/power/s3c_adc_battery.c:437:1: warning: data definition has no type or storage class
drivers/power/s3c_adc_battery.c:437:1: warning: type defaults to ‘int’ in declaration of ‘MODULE_LICENSE’
drivers/power/s3c_adc_battery.c:437:16: warning: function declaration isn’t a prototype
make[2]: *** [drivers/power/s3c_adc_battery.o] Error 1
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Ian Lartey <ian@opensource.wolfsonmicro.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
|