linux/drivers/mfd
Tony Lindgren 481c7f868c mfd: twl4030-power: Fix poweroff with PM configuration enabled
Commit e7cd1d1eb1 ("mfd: twl4030-power: Add generic reset
configuration") enabled configuring the PM features for twl4030.

This caused poweroff command to fail on devices that have the
BCI charger on twl4030 wired, or have power wired for VBUS.
Instead of powering off, the device reboots. This is because
voltage is detected on charger or VBUS with the default bits
enabled for the power transition registers.

To fix the issue, let's just clear VBUS and CHG bits as we want
poweroff command to keep the system powered off.

Fixes: e7cd1d1eb1 ("mfd: twl4030-power: Add generic reset configuration")
Cc: stable@vger.kernel.org # v3.16+
Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2014-11-10 15:22:04 +00:00
..
88pm80x.c
88pm800.c
88pm805.c
88pm860x-core.c
88pm860x-i2c.c mfd: 88pm860x-i2c: Fix variable length array Sparse warning 2014-09-26 08:15:45 +01:00
Kconfig mfd: Add support for Qualcomm SPMI PMICs 2014-09-26 08:24:00 +01:00
Makefile mfd: Add support for Qualcomm SPMI PMICs 2014-09-26 08:24:00 +01:00
aat2870-core.c
ab3100-core.c
ab3100-otp.c
ab8500-core.c mfd: ab8500-core: Use 'ifdef' for config options 2014-08-20 13:28:02 +01:00
ab8500-debugfs.c
ab8500-gpadc.c
ab8500-sysctrl.c
abx500-core.c
adp5520.c
arizona-core.c mfd: arizona: Correct mask to allow setting micbias external cap 2014-09-26 08:24:05 +01:00
arizona-i2c.c
arizona-irq.c mfd: arizona: Use handle_simple_irq for IRQ dispatch chip 2014-09-26 08:23:55 +01:00
arizona-spi.c
arizona.h
as3711.c
as3722.c
asic3.c driver:gpio remove all usage of gpio_remove retval in driver 2014-09-18 11:03:10 -07:00
axp20x.c mfd: axp209x: Drop the parent supplies field 2014-09-26 08:23:58 +01:00
bcm590xx.c
cros_ec.c mfd: cros_ec: wait for completion of commands that return IN_PROGRESS 2014-10-06 21:30:16 +01:00
cros_ec_i2c.c
cros_ec_spi.c mfd: cros_ec: move locking into cros_ec_cmd_xfer 2014-10-06 21:29:50 +01:00
cs5535-mfd.c
da903x.c
da9052-core.c mfd: da9052: Avoid setting read_flag_mask for da9052-i2c driver 2014-09-26 08:15:54 +01:00
da9052-i2c.c mfd: da9052-i2c: Remove duplicate test for I2C_FUNC_SMBUS_BYTE_DATA functionality 2014-09-26 08:15:41 +01:00
da9052-irq.c
da9052-spi.c mfd: da9052: Avoid setting read_flag_mask for da9052-i2c driver 2014-09-26 08:15:54 +01:00
da9055-core.c devicetree: Dialog Semiconductor consolidate existing vendor prefixes to standardise on 'dlg' 2014-08-29 09:26:29 +01:00
da9055-i2c.c
da9063-core.c
da9063-i2c.c
da9063-irq.c
davinci_voicecodec.c
db8500-prcmu.c
dbx500-prcmu-regs.h
dm355evm_msp.c
ezx-pcap.c
hi6421-pmic-core.c mfd: Add HI6421 PMIC Core driver 2014-09-26 08:23:43 +01:00
htc-egpio.c
htc-i2cpld.c Changes to existing drivers: 2014-10-15 06:58:16 +02:00
htc-pasic3.c
intel_msic.c
intel_soc_pmic_core.c mfd: intel_soc_pmic: Add CONFIG_PM_SLEEP check for suspend_fn/resume_fn 2014-09-26 08:23:52 +01:00
intel_soc_pmic_core.h
intel_soc_pmic_crc.c
ipaq-micro.c
janz-cmodio.c
jz4740-adc.c
kempld-core.c
lm3533-core.c
lm3533-ctrlbank.c
lp3943.c
lp8788-irq.c
lp8788.c
lpc_ich.c mfd: lpc_ich: Add Device IDs for Intel 9 Series PCH 2014-09-26 08:15:44 +01:00
lpc_sch.c mfd: lpc_sch: Remove FSF address 2014-09-26 08:15:59 +01:00
max8907.c
max8925-core.c
max8925-i2c.c mfd: max8925-i2c: Fix variable length array Sparse warning 2014-09-26 08:15:46 +01:00
max8997-irq.c
max8997.c
max8998-irq.c
max8998.c
max14577.c mfd: max14577: Don't pass IRQ domain to mfd_add_devices 2014-09-26 08:23:54 +01:00
max77686.c mfd: max77686: Remove check which is always true 2014-09-26 08:15:32 +01:00
max77693.c mfd: max77693: Fix always masked MUIC interrupts 2014-11-10 15:22:02 +00:00
mc13xxx-core.c mfd: mc13xxx: Configure WDI reset 2014-09-26 08:23:50 +01:00
mc13xxx-i2c.c
mc13xxx-spi.c
mc13xxx.h
mcp-core.c
mcp-sa11x0.c
menelaus.c mfd: menelaus: Fix error return code 2014-09-26 08:15:41 +01:00
menf21bmc.c mfd: menf21bmc: Introduce MEN 14F021P00 BMC MFD Core driver 2014-09-24 13:30:16 +01:00
mfd-core.c mfd: Add ACPI support 2014-09-26 08:24:05 +01:00
omap-usb-host.c mfd: omap-usb-host: Fix %d confusingly prefixed with 0x in format string 2014-08-20 13:26:52 +01:00
omap-usb-tll.c
omap-usb.h
palmas.c
pcf50633-adc.c
pcf50633-core.c mfd: pcf50633: Use sprintf directly 2014-09-26 08:23:49 +01:00
pcf50633-gpio.c
pcf50633-irq.c
pm8921-core.c
qcom-spmi-pmic.c mfd: Add support for Qualcomm SPMI PMICs 2014-09-26 08:24:00 +01:00
rc5t583-irq.c
rc5t583.c
rdc321x-southbridge.c
retu-mfd.c
rk808.c mfd: rk808: Add register caching 2014-09-26 08:23:56 +01:00
rn5t618.c mfd: Add Ricoh RN5T618 PMIC core driver 2014-09-26 08:15:51 +01:00
rtl8411.c
rts5209.c
rts5227.c
rts5229.c
rts5249.c
rtsx_pcr.c mfd: rtsx: Fix build warnings for !PM 2014-11-10 15:21:59 +00:00
rtsx_pcr.h
rtsx_usb.c mfd: rtsx_usb: Fix decimal printf format specifiers prefixed with 0x 2014-09-26 08:15:38 +01:00
sec-core.c
sec-irq.c
si476x-cmd.c
si476x-i2c.c
si476x-prop.c
sm501.c Changes to existing drivers: 2014-10-15 06:58:16 +02:00
smsc-ece1099.c
ssbi.c
sta2x11-mfd.c
stmpe-i2c.c
stmpe-spi.c
stmpe.c mfd: stmpe: Support gpio over irq under device tree 2014-09-26 08:23:53 +01:00
stmpe.h mfd: stmpe: Fix STMPE24xx GPMR LSB 2014-11-10 15:21:58 +00:00
stw481x.c
sun6i-prcm.c
syscon.c
t7l66xb.c
tc3589x.c
tc6387xb.c
tc6393xb.c driver:gpio remove all usage of gpio_remove retval in driver 2014-09-18 11:03:10 -07:00
ti_am335x_tscadc.c mfd: ti_am335x_tscadc: Update logic in CTRL register for 5-wire TS 2014-09-26 08:24:03 +01:00
timberdale.c
timberdale.h
tmio_core.c
tps6105x.c
tps6507x.c
tps6586x.c
tps65010.c
tps65090.c
tps65217.c mfd: tps65217: Tell regmap what registers are valid 2014-09-26 08:23:50 +01:00
tps65218.c
tps65910.c mfd: tps65910: Work around silicon erratum SWCZ010 2014-09-26 08:15:48 +01:00
tps65911-comparator.c
tps65912-core.c
tps65912-i2c.c
tps65912-irq.c
tps65912-spi.c
tps80031.c
twl-core.c
twl-core.h
twl4030-audio.c
twl4030-irq.c mfd: twl4030-irq: Check return value from twl_i2c_write() - warn() on failure 2014-09-26 08:15:34 +01:00
twl4030-power.c mfd: twl4030-power: Fix poweroff with PM configuration enabled 2014-11-10 15:22:04 +00:00
twl6030-irq.c
twl6040.c mfd: twl6040: Fix error return code 2014-09-26 08:15:37 +01:00
ucb1x00-assabet.c
ucb1x00-core.c driver:gpio remove all usage of gpio_remove retval in driver 2014-09-18 11:03:10 -07:00
ucb1x00-ts.c
ucb1400_core.c
vexpress-sysreg.c
viperboard.c mfd: viperboard: Fix platform-device id collision 2014-11-10 15:22:00 +00:00
vx855.c
wl1273-core.c
wm831x-auxadc.c
wm831x-core.c
wm831x-i2c.c
wm831x-irq.c
wm831x-otp.c
wm831x-spi.c
wm5102-tables.c mfd: arizona: Add ASYNC_SAMPLE_RATE_2 registers 2014-09-26 08:15:52 +01:00
wm5110-tables.c mfd: arizona: Add ASYNC_SAMPLE_RATE_2 registers 2014-09-26 08:15:52 +01:00
wm8350-core.c
wm8350-gpio.c
wm8350-i2c.c
wm8350-irq.c
wm8350-regmap.c
wm8400-core.c
wm8994-core.c
wm8994-irq.c mfd: wm8994: Export symbols ready for built-in => modular build 2014-09-26 08:15:35 +01:00
wm8994-regmap.c mfd: wm8994: Export symbols ready for built-in => modular build 2014-09-26 08:15:35 +01:00
wm8994.h
wm8997-tables.c