kernel_optimize_test/drivers/mfd
Octavian Purdila 3daa122d6b mfd: dln2: Add suspend/resume functionality
Without suspend/resume functionality in the USB driver the USB core
will disconnect and reconnect the DLN2 port and because the GPIO
framework does not yet support removal of an in-use controller a
suspend/resume operation will result in a crash.

This patch provides suspend and resume functions for the DLN2 driver
so that the above scenario is avoided, if the host controller does not
drop VBUS during suspend, since in this case the device state is
preserved.

We chose not implemented reset_resume so that if the host controller
does drop VBUS the resume path will go through above the
disconnect/reconnect process since it is probably better to fix the
GPIO framework disconnect issue then to save and restore the device
state for every driver.

Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Reviewed-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2015-01-22 15:56:01 +00:00
..
88pm80x.c
88pm800.c mfd: 88pm800: Fix I2C device resource leak if probe fails 2014-03-19 08:58:15 +00:00
88pm805.c mfd: 88pm805: msleep(1ms ~ 20ms) may not do what the caller intends 2014-07-09 16:38:02 +01:00
88pm860x-core.c mfd: 88pm860x-core: Repair formatting issues 2014-07-09 16:38:03 +01:00
88pm860x-i2c.c mfd: 88pm860x-i2c: Fix variable length array Sparse warning 2014-09-26 08:15:45 +01:00
aat2870-core.c mfd: aat2870-core: Stop using obsolte simple_strtoul() 2014-07-09 16:38:04 +01:00
ab3100-core.c mfd: ab3100-core: Correct code sytle problems 2014-07-09 16:38:05 +01:00
ab3100-otp.c mfd: drop owner assignment from platform_drivers 2014-10-20 16:20:53 +02:00
ab8500-core.c mfd: drop owner assignment from platform_drivers 2014-10-20 16:20:53 +02:00
ab8500-debugfs.c mfd: drop owner assignment from platform_drivers 2014-10-20 16:20:53 +02:00
ab8500-gpadc.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
ab8500-sysctrl.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
abx500-core.c mfd: abx500-core: Remove unused function abx500_dump_all_banks() 2014-06-03 08:11:51 +01:00
adp5520.c mfd: Delete non-required instances of include <linux/init.h> 2014-03-19 08:58:07 +00:00
arizona-core.c MFD / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM 2014-12-05 03:04:12 +01:00
arizona-i2c.c mfd: arizona: Rid data size incompatibility warn when building for 64bit 2014-07-09 16:38:01 +01:00
arizona-irq.c mfd: arizona: Use handle_simple_irq for IRQ dispatch chip 2014-09-26 08:23:55 +01:00
arizona-spi.c mfd: arizona-spi: Add lines after declarations - checkpatch catch 2014-11-25 16:18:45 +00:00
arizona.h mfd: wm5110: Add new interrupt register definitions 2014-07-28 11:01:42 +01:00
as3711.c mfd: as3711: Make of_device_id array const 2014-06-03 08:11:38 +01:00
as3722.c mfd: as3722: Make FUSE7_REG readable 2014-03-19 08:58:37 +00:00
asic3.c driver:gpio remove all usage of gpio_remove retval in driver 2014-09-18 11:03:10 -07:00
atmel-hlcdc.c mfd: Add atmel-hlcdc driver 2014-11-25 16:18:43 +00:00
axp20x.c ACPI and power management updates for 3.19-rc1 2014-12-10 21:17:00 -08:00
bcm590xx.c Changes to existing drivers: 2014-06-06 12:08:39 -07:00
cros_ec_i2c.c mfd: cros_ec: Use the proper size when looking at the cros_ec_i2c result 2014-07-09 16:38:21 +01:00
cros_ec_spi.c mfd: cros_ec: move locking into cros_ec_cmd_xfer 2014-10-06 21:29:50 +01:00
cros_ec.c mfd: cros_ec: wait for completion of commands that return IN_PROGRESS 2014-10-06 21:30:16 +01:00
cs5535-mfd.c mfd: Delete non-required instances of include <linux/init.h> 2014-03-19 08:58:07 +00:00
da903x.c
da9052-core.c mfd: da9052-core: Fix platform-device id collision 2015-01-20 12:52:48 +00: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 mfd: da9055: Add DT support for PMIC 2014-03-19 08:58:39 +00:00
da9063-core.c mfd: da9063: Get irq base dynamically before registering device 2014-11-25 16:19:24 +00:00
da9063-i2c.c mfd: da9063: Add support for AD silicon variant 2014-07-28 08:09:25 +01:00
da9063-irq.c
da9150-core.c mfd: Add support for DA9150 combined charger & fuel-gauge device 2015-01-22 15:55:54 +00:00
davinci_voicecodec.c mfd: drop owner assignment from platform_drivers 2014-10-20 16:20:53 +02:00
db8500-prcmu.c mfd: db8500-prcmu: Remove unused function 2015-01-22 15:55:51 +00:00
dbx500-prcmu-regs.h
dln2.c mfd: dln2: Add suspend/resume functionality 2015-01-22 15:56:01 +00:00
dm355evm_msp.c mfd: dm355evm_msp: Fix checkpatch error: insert space after ',' 2014-07-22 13:17:06 +01:00
ezx-pcap.c mfd: ezx-pcap: Repair coding style errors picked up with checkpatch 2014-07-25 15:31:02 +01:00
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 mfd: drop owner assignment from platform_drivers 2014-10-20 16:20:53 +02:00
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 mfd: intel_soc_pmic: Core driver 2014-06-17 15:59:20 +01:00
intel_soc_pmic_crc.c ACPI / PMIC: support PMIC operation region for CrystalCove 2014-11-26 23:32:05 +01:00
ipaq-micro.c mfd: ipaq-micro: Fix coding style errors/warnings reported by checkpatch 2014-07-25 15:31:45 +01:00
janz-cmodio.c mfd: Delete non-required instances of include <linux/init.h> 2014-03-19 08:58:07 +00:00
jz4740-adc.c mfd: drop owner assignment from platform_drivers 2014-10-20 16:20:53 +02:00
Kconfig mfd: Add support for DA9150 combined charger & fuel-gauge device 2015-01-22 15:55:54 +00:00
kempld-core.c mfd: drop owner assignment from platform_drivers 2014-10-20 16:20:53 +02:00
lm3533-core.c
lm3533-ctrlbank.c
lp3943.c mfd: lp3943: Make mfd_cell array const 2014-06-03 08:11:36 +01:00
lp8788-irq.c mfd: lp8788-irq: Fix 'missing blank line after declarations' warning 2014-07-25 15:31:39 +01:00
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: Enable WDT for Intel Quark X1000 2015-01-22 15:55:56 +00:00
Makefile mfd: Add support for DA9150 combined charger & fuel-gauge device 2015-01-22 15:55:54 +00:00
max8907.c mfd: max8907: Make of_device_id array const 2014-06-03 08:11:32 +01:00
max8925-core.c mfd: max8925-core: Fix 'missing blank line after declarations' warning 2014-07-25 15:31:41 +01:00
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 mfd: max8997: Make of_device_id array const 2014-06-03 08:11:30 +01:00
max8998-irq.c
max8998.c mfd: max8998: Make of_device_id array const 2014-06-03 08:11:34 +01:00
max14577.c mfd: max14577: Fix obvious typo in company name in copyright 2014-11-25 16:19:24 +00:00
max77686.c mfd: max77686: Remove check which is always true 2014-09-26 08:15:32 +01:00
max77693.c Hi Linus, 2014-12-08 20:02:54 -08:00
mc13xxx-core.c mfd: mc13xxx: Configure WDI reset 2014-09-26 08:23:50 +01:00
mc13xxx-i2c.c
mc13xxx-spi.c mfd: mc13xxx: Add missing spi_setup() 2014-03-19 08:58:35 +00:00
mc13xxx.h mfd: mc13xxx: Use regmap irq framework for interrupts 2014-07-09 14:58:10 +01:00
mcp-core.c mfd: mcp-core: Fix 'blank line after declarations' warning 2014-07-22 13:17:02 +01:00
mcp-sa11x0.c mfd: drop owner assignment from platform_drivers 2014-10-20 16:20:53 +02:00
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: core: Fix platform-device id generation 2014-11-25 16:18:43 +00:00
omap-usb-host.c mfd: drop owner assignment from platform_drivers 2014-10-20 16:20:53 +02:00
omap-usb-tll.c mfd: drop owner assignment from platform_drivers 2014-10-20 16:20:53 +02:00
omap-usb.h
palmas.c regulator: palmas: add driver data and modularize the probe 2014-06-23 12:30:56 +01:00
pcf50633-adc.c mfd: Delete non-required instances of include <linux/init.h> 2014-03-19 08:58:07 +00:00
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 mfd: drop owner assignment from platform_drivers 2014-10-20 16:20:53 +02:00
qcom-spmi-pmic.c mfd: Add support for Qualcomm SPMI PMICs 2014-09-26 08:24:00 +01:00
rc5t583-irq.c mfd: Delete non-required instances of include <linux/init.h> 2014-03-19 08:58:07 +00:00
rc5t583.c
rdc321x-southbridge.c mfd: rdc321x: Fix off-by-one for ngpio setting 2014-06-03 08:11:17 +01:00
retu-mfd.c mfd: Delete non-required instances of include <linux/init.h> 2014-03-19 08:58:07 +00:00
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
rt5033.c mfd: rt5033: Add Richtek RT5033 driver core. 2015-01-22 15:55:47 +00:00
rtl8411.c
rts5209.c
rts5227.c mfd: rtsx: Fix PM suspend for 5227 & 5249 2014-11-25 16:18:48 +00:00
rts5229.c
rts5249.c mfd: rtsx: Fix PM suspend for 5227 & 5249 2014-11-25 16:18:48 +00:00
rtsx_gops.c mfd: rtsx: Fix PM suspend for 5227 & 5249 2014-11-25 16:18:48 +00:00
rtsx_pcr.c mfd: rtsx: Fix build warnings for !PM 2014-11-10 15:21:59 +00:00
rtsx_pcr.h mfd: rtsx: Fix PM suspend for 5227 & 5249 2014-11-25 16:18:48 +00:00
rtsx_usb.c mfd: rtsx_usb: Fix runtime PM deadlock 2015-01-20 12:52:55 +00:00
sec-core.c Revert "mfd: sec-core: Prepare regulators for suspend state to reduce power-consumption" 2014-11-25 16:18:47 +00:00
sec-irq.c mfd: sec-core: Add support for S2MPS13 device 2014-11-25 15:55:01 +00:00
si476x-cmd.c mfd: si476x-cmd: Remedy checkpatch style complains 2014-07-25 15:31:44 +01:00
si476x-i2c.c
si476x-prop.c
sm501.c mfd: drop owner assignment from platform_drivers 2014-10-20 16:20:53 +02:00
smsc-ece1099.c mfd: Delete non-required instances of include <linux/init.h> 2014-03-19 08:58:07 +00:00
ssbi.c mfd: drop owner assignment from platform_drivers 2014-10-20 16:20:53 +02:00
sta2x11-mfd.c mfd: drop owner assignment from platform_drivers 2014-10-20 16:20:53 +02:00
stmpe-i2c.c mfd: stmpe: Rid data size incompatibility warn when building for 64bit 2014-07-09 16:37:55 +01:00
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 mfd: stw481x: Check the return value of devm_regmap_init_i2c 2014-03-19 08:58:17 +00:00
sun6i-prcm.c mfd: sun6i-prcm: Add support for the ir-clk 2015-01-22 15:55:49 +00:00
syscon.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
t7l66xb.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
tc3589x.c mfd: tc3589x: get rid of static base 2014-11-25 16:18:56 +00:00
tc6387xb.c mfd: tc6387xb: prepare/unprepare clocks 2014-11-25 16:18:58 +00:00
tc6393xb.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
ti_am335x_tscadc.c mfd: drop owner assignment from platform_drivers 2014-10-20 16:20:53 +02:00
timberdale.c mfd: timberdale: Use pci_enable_msix_exact() instead of pci_enable_msix() 2014-03-19 08:58:34 +00:00
timberdale.h
tmio_core.c
tps6105x.c mfd: tps6105x: Use managed resources when allocating memory 2014-07-25 15:31:47 +01:00
tps6507x.c mfd: tps6507x: Make of_device_id array const 2014-06-03 08:11:27 +01:00
tps6586x.c mfd: tps6586x: Make of_device_id array const 2014-06-03 08:11:28 +01:00
tps65010.c
tps65090.c mfd: tps65090: Fix bonkers indenting strategy 2014-11-25 16:18:53 +00:00
tps65217.c mfd: tps65217: Add compatible string for subdevices 2014-11-25 16:18:38 +00:00
tps65218.c mfd: tps65218: Make INT1 our status_base register 2015-01-20 12:52:53 +00:00
tps65910.c mfd: tps65910: Work around silicon erratum SWCZ010 2014-09-26 08:15:48 +01:00
tps65911-comparator.c mfd: drop owner assignment from platform_drivers 2014-10-20 16:20:53 +02:00
tps65912-core.c mfd: Delete non-required instances of include <linux/init.h> 2014-03-19 08:58:07 +00:00
tps65912-i2c.c
tps65912-irq.c mfd: Delete non-required instances of include <linux/init.h> 2014-03-19 08:58:07 +00:00
tps65912-spi.c mfd: tps65912-spi: Remove unused variable 2014-07-28 08:10:06 +01:00
tps80031.c
twl-core.c Immutable branch between MFD and Extcon due for v3.16 merge-window. 2014-06-03 08:08:40 +01:00
twl-core.h
twl4030-audio.c mfd: drop owner assignment from platform_drivers 2014-10-20 16:20:53 +02:00
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 Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
twl6030-irq.c mfd: twl6030-irq: Extinguish coding style warnings 2014-07-25 15:31:42 +01:00
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 of: Eliminate of_allnodes list 2014-11-04 13:29:38 +00:00
viperboard.c mfd: Use mfd_add_hotplug_devices() helper 2014-11-25 16:18:42 +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: Document HP_CTRL_1L and HP_CTRL_1R registers 2014-11-25 16:18:55 +00:00
wm5110-tables.c mfd: wm5110: Add missing registers for AIF2 channels 3-6 2014-11-25 16:18:56 +00:00
wm8350-core.c mfd: wm8350-core: Fix probable mask then right shift defect 2014-11-25 16:18:51 +00:00
wm8350-gpio.c
wm8350-i2c.c mfd: wm8350-i2c: Replace spaces with tabs 2014-07-25 15:31:42 +01:00
wm8350-irq.c mfd: wm8350-irq: Fix 'line over 80 chars' warning 2014-07-22 13:17:05 +01:00
wm8350-regmap.c
wm8400-core.c mfd: wm8400-core: Make mfd_cell array const 2014-06-03 08:11:34 +01:00
wm8994-core.c MFD / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM 2014-12-05 03:04:12 +01:00
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 mfd: arizona: Document HP_CTRL_1L and HP_CTRL_1R registers 2014-11-25 16:18:55 +00:00