kernel-fxtec-pro1x/drivers/regulator
Axel Lin 8fa25eda86 regulator: max8997: Properly handle gpio_request failure
Convert to devm_gpio_request to save a few error handling code.

This patch properly handle the gpio_request failure with -EBUSY, we should
return error rather than ommit the gpio_request failure with -EBUSY.

I think one of the reason we got -EBUSY is because current code does not free
gpios in max8997_pmic_remove(). So it got -EBUSY when reload the module.

Yest another reason is in current code if gpio_request() returns -EBUSY,
the rest of the code still calls gpio_direction_output to config buck125_gpios
and set gpio value in max8997_set_gpio().  This looks wrong to me.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-07-15 21:49:53 +01:00
..
88pm8607.c regulator: 88pm8607: Use regulator_get_voltage_sel_regmap() 2012-05-04 13:32:06 +01:00
aat2870-regulator.c regulator: aat2870: Remove unused min_uV and max_uV from struct aat2870_regulator 2012-07-12 18:22:13 +01:00
ab3100.c regulator: ab3100: Use rdev_get_drvdata() rather than use reg->reg_data driectly 2012-07-05 13:34:39 +01:00
ab8500.c regulator: ab8500: Remove min_uV and max_uV from struct ab8500_regulator_info 2012-06-17 21:04:45 +01:00
ad5398.c regulator: ad5398: Fix min/max current limit boundary checking 2012-07-04 12:39:38 +01:00
anatop-regulator.c Linux 3.5-rc4 2012-06-25 10:11:40 +01:00
arizona-ldo1.c regulator: arizona-ldo1: Implement GPIO enable support 2012-07-03 20:29:30 +01:00
arizona-micsupp.c regulator: arizona-micsupp: Force regulated mode until we have API support 2012-07-04 16:22:39 +01:00
core.c Linux 3.5-rc7 2012-07-15 21:49:21 +01:00
da903x.c regulator: da903x: Don't read/write to DA9030_INVAL/DA9034_INVAL address 2012-06-08 07:29:47 +08:00
da9052-regulator.c regulator: da9052: initialize of_node param for regulator register 2012-07-12 18:21:24 +01:00
db8500-prcmu.c regulator: Change db8500-prcmu match names to reflect Device Tree 2012-06-17 18:27:49 +01:00
dbx500-prcmu.c
dbx500-prcmu.h
dummy.c regulator: dummy: Specify a struct device 2012-05-10 10:48:28 +01:00
dummy.h
fixed-helper.c
fixed.c regulator: fixed: dt: support for input supply 2012-07-05 13:49:35 +01:00
gpio-regulator.c regulator: gpio-regulator: Use core GPIO enable support 2012-07-04 12:38:36 +01:00
isl6271a-regulator.c regulator: isl6271a: Remove setting map_voltage callback for isl_fixed_ops 2012-06-11 12:01:40 +08:00
Kconfig regulator: s2mps11: Add samsung s2mps11 regulator driver 2012-07-11 15:32:40 +01:00
lp872x.c regulator: change message level on probing lp872x driver 2012-06-21 11:04:06 +01:00
lp3971.c regulator: lp3971: Use regulator_list_voltage_table() 2012-06-03 13:25:02 +01:00
lp3972.c regulator: lp3972: Use regulator_list_voltage_table() 2012-06-03 13:25:01 +01:00
Makefile regulator: s2mps11: Add samsung s2mps11 regulator driver 2012-07-11 15:32:40 +01:00
max1586.c regulator: max1586: Convert max1586_v3_ops to set_voltage_sel and map_voltage_linear 2012-06-08 08:48:23 +08:00
max8649.c regulator: max8649: fix missing regmap in rdev 2012-06-05 11:15:22 +01:00
max8660.c regulator: max8660: Convert to set_voltage_sel and regulator_map_voltage_linear 2012-05-15 18:35:42 +01:00
max8925-regulator.c regulator: max8925: Remove check_range function and max_uV from struct rc5t583_regulator_info 2012-05-17 23:00:56 +01:00
max8952.c regulator: max8952: Use core GPIO enable support 2012-07-10 14:48:42 +01:00
max8997.c regulator: max8997: Properly handle gpio_request failure 2012-07-15 21:49:53 +01:00
max8998.c regulator: max8998: Remove wrong set_suspend_[en|dis]able callback settings 2012-07-09 19:45:12 +01:00
max77686.c regulator: max77686: Initialise rmatch.of_node to NULL. 2012-07-06 19:17:29 +01:00
mc13xxx-regulator-core.c regulator: mc13xxx: Remove mc13xxx_sw_regulator_is_enabled function 2012-06-19 12:06:25 +01:00
mc13xxx.h regulator: mc13xxx: Remove mc13xxx_sw_regulator_is_enabled function 2012-06-19 12:06:25 +01:00
mc13783-regulator.c regulator: mc13xxx: Convert to regulator_list_voltage_table 2012-06-17 21:01:21 +01:00
mc13892-regulator.c regulator: mc13xxx: Remove mc13xxx_sw_regulator_is_enabled function 2012-06-19 12:06:25 +01:00
of_regulator.c regulator: dt: regulator match by regulator-compatible 2012-07-03 20:19:41 +01:00
palmas-regulator.c Linux 3.5-rc5 2012-07-02 18:24:59 +01:00
pcap-regulator.c regulator: pcap: Convert to regulator_list_voltage_table 2012-06-08 07:37:29 +08:00
pcf50633-regulator.c regulator: pcf50633: Convert to regulator_set_voltage_sel_regmap and map_voltage 2012-06-17 21:05:28 +01:00
rc5t583-regulator.c regulator: rc5t583: Use regulator_set_voltage_time_sel() 2012-06-24 12:13:38 +01:00
s2mps11.c regulator: s2mps11: Use sec_reg_write rather than sec_reg_update when mask is 0xff 2012-07-12 18:07:11 +01:00
s5m8767.c regulator: s5m8767: Convert to regulator_list_voltage_linear 2012-06-26 11:50:33 +01:00
tps6105x-regulator.c regulator: tps6105x: Use regulator_list_voltage_table() 2012-06-03 13:25:01 +01:00
tps6507x-regulator.c regulator: tps6507x: Avoid duplicating the same mapping table for LDO2 and VDCDCx 2012-06-05 11:20:53 +01:00
tps6524x-regulator.c regulator: tps6524x: Convert fixed ilimsel to table based 2012-07-02 18:26:03 +01:00
tps6586x-regulator.c regulator: tps6586x: add support for input supply 2012-07-13 15:21:18 +01:00
tps62360-regulator.c regulator: tps62360: use devm_* for gpio request 2012-07-15 21:49:52 +01:00
tps65023-regulator.c regulator: tps65023: Convert tps65023_ldo_ops to regulator_[get|set]_voltage_sel_regmap 2012-06-19 12:14:11 +01:00
tps65090-regulator.c Merge remote-tracking branch 'regulator/topic/drivers' into regulator-next 2012-05-12 11:10:25 +01:00
tps65217-regulator.c regulator: tps65217: Add device tree support 2012-07-12 18:27:36 +01:00
tps65910-regulator.c regulator: tps65910: Remvoe tps65910_reg_[read|modify_bits|read_locked|write_locked] functions 2012-07-12 18:05:15 +01:00
tps65912-regulator.c regulator: tps65912: Convert to get_voltage_sel 2012-04-23 13:20:27 +01:00
twl-regulator.c regulator: twl: Set enable enable_time in regulator_desc 2012-07-04 12:38:37 +01:00
userspace-consumer.c
virtual.c
wm831x-dcdc.c regulator: wm831x-dcdc: Convert wm831x_buckv_ops to set_voltage_sel and map_voltage 2012-06-17 21:07:19 +01:00
wm831x-isink.c MFD changes for 3.5 2012-05-29 11:53:11 -07:00
wm831x-ldo.c regulator: wm831x-ldo: Specify enable time for alive LDO 2012-07-03 20:29:25 +01:00
wm8350-regulator.c regulator: wm8350: Reuse map_voltage() to get selector of a given uV 2012-06-17 20:53:58 +01:00
wm8400-regulator.c regulator: wm8400: Adjust the equation for selector >= 15 in wm8400_ldo_list_voltage 2012-06-13 18:53:23 +01:00
wm8994-regulator.c regulator: wm8994: Use core GPIO enable support 2012-07-03 20:29:29 +01:00