mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +00:00
Power Supply Fixes for 6.8 cycle
* mm8013: select REGMAP_I2C * bq27xxx-i2c: do not free non-existing IRQ -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmXidvkACgkQ2O7X88g7 +pprPQ//fz6hk3kjikeJ1bzoMea3RcCPoXbDAQRw6n9ni67dwWRy3YNUW1rntMS3 wiE2Yj8kJZmPc6vqdxfLkjvSSPtr4VGs1uvLGg/7gaNY7wBH4d72aXDR4BDLo4RN rg7D7oa9nckUGWeNh29iOhoKGcpohsmOEQINU6rQcyuIHi4RfTL4SML3cDclGTRZ B3OLvpDUQRXfrkB6IS9XSrwGjAS76tVEI9V6ZqROj6Nn1E/deZi4iheXXRwjHJIW Gelj6yDpxpsaXqm8Pt4dShsMM8oOf4NHlwJWDePISfclUMUxz5glSC3zuvOtB5Qr 1LxckGAKFSpRHbHM3vUqmR2Ec8sxLkWetHeHwhlL/NmFWnhVtyCZi3bsHgtIysXI HdRHKH5INoDV4LTWR7cP/1S1jBangG35G2LOSIqUfi73NO07Xu/Wc715CmFbKXBQ KEw67xFA/hrVpZMOJsdE7uV/nBOT+88jSwvrO8m6lJkrIY5HGZM0AhaZjbF5tiLX iLju7uGvAEzbbgFXgAF0lvepYRFJGrp4m2+TsplLyQ3zzYsLiNsJ8oTeoEvikkT5 XeCj4F/uCEH/l4bmPffMS9wl3nHtOfCwVUk5vgrnX0TQPsvlMWzEoSBsKE7NRdqB ieFTXHnKQUIVYFx7vleoLCe40fc1zmYVmmOtVeKQ3az2nyi0ot4= =iWgO -----END PGP SIGNATURE----- Merge tag 'for-v6.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply Pull power supply fixes from Sebastian Reichel: - Kconfig dependency fix - bq27xxx-i2c: do not free non-existing IRQ * tag 'for-v6.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: power: supply: bq27xxx-i2c: Do not free non existing IRQ power: supply: mm8013: select REGMAP_I2C
This commit is contained in:
commit
5ad3cb0ed5
@ -978,6 +978,7 @@ config CHARGER_QCOM_SMB2
|
||||
config FUEL_GAUGE_MM8013
|
||||
tristate "Mitsumi MM8013 fuel gauge driver"
|
||||
depends on I2C
|
||||
select REGMAP_I2C
|
||||
help
|
||||
Say Y here to enable the Mitsumi MM8013 fuel gauge driver.
|
||||
It enables the monitoring of many battery parameters, including
|
||||
|
@ -209,7 +209,9 @@ static void bq27xxx_battery_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
struct bq27xxx_device_info *di = i2c_get_clientdata(client);
|
||||
|
||||
free_irq(client->irq, di);
|
||||
if (client->irq)
|
||||
free_irq(client->irq, di);
|
||||
|
||||
bq27xxx_battery_teardown(di);
|
||||
|
||||
mutex_lock(&battery_mutex);
|
||||
|
Loading…
Reference in New Issue
Block a user