linux/drivers/mfd
Jean-François Dagenais f607e7fc5f w1: ds1wm: add a reset recovery parameter
This fixes a regression in 3.0 reported by Paul Parsons regarding the
removal of the msleep(1) in the ds1wm_reset() function:

: The linux-3.0-rc4 DS1WM 1-wire driver is logging "bus error, retrying"
: error messages on an HP iPAQ hx4700 PDA (XScale-PXA270):
:
: <snip>
: Driver for 1-wire Dallas network protocol.
: DS1WM w1 busmaster driver - (c) 2004 Szabolcs Gyurko
: 1-Wire driver for the DS2760 battery monitor  chip  - (c) 2004-2005, Szabolcs Gyurko
: ds1wm ds1wm: pass: 1 bus error, retrying
: ds1wm ds1wm: pass: 2 bus error, retrying
: ds1wm ds1wm: pass: 3 bus error, retrying
: ds1wm ds1wm: pass: 4 bus error, retrying
: ds1wm ds1wm: pass: 5 bus error, retrying
: ...
:
: The visible result is that the battery charging LED is erratic; sometimes
: it works, mostly it doesn't.
:
: The linux-2.6.39 DS1WM 1-wire driver worked OK.  I haven't tried 3.0-rc1,
: 3.0-rc2, or 3.0-rc3.

This sleep should not be required on normal circuitry provided the
pull-ups on the bus are correctly adapted to the slaves.  Unfortunately,
this is not always the case.  The sleep is restored but as a parameter to
the probe function in the pdata.

[akpm@linux-foundation.org: coding-style fixes]
Reported-by: Paul Parsons <lost.distance@yahoo.com>
Tested-by: Paul Parsons <lost.distance@yahoo.com>
Signed-off-by: Jean-François Dagenais <dagenaisj@sonatest.com>
Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-07-08 21:14:44 -07:00
..
88pm860x-core.c mfd: Avoid to use constraint name in 88pm860x regulator driver 2011-05-26 19:45:38 +02:00
88pm860x-i2c.c mfd: Append additional read write on 88pm860x 2011-03-23 10:42:07 +01:00
ab3100-core.c mfd: Use mfd cell platform_data for ab3100 cells platform bits 2011-05-26 19:44:58 +02:00
ab3100-otp.c mfd: Fix memory leak in ab3100_otp_probe 2010-08-12 11:27:17 +02:00
ab3550-core.c mfd: Use mfd cell platform_data for ab3550 cells platform bits 2011-05-26 19:44:57 +02:00
ab8500-core.c mfd: Provide ab8500-core enumerators for chip cuts 2011-05-26 19:45:42 +02:00
ab8500-debugfs.c mfd: ab8500: world-writable debugfs register-* files 2011-03-23 10:41:48 +01:00
ab8500-gpadc.c mfd: Correct the name and bitmask for ab8500-gpadc BTempPullUp 2011-05-26 19:45:44 +02:00
ab8500-i2c.c mach-ux500: move the DB8500 PRCMU driver to MFD 2011-05-24 22:14:31 +02:00
ab8500-sysctrl.c mfd: AB8500 system control driver 2011-03-23 10:41:47 +01:00
abx500-core.c mfd: kzalloc doesn't return ERR_PTR 2010-08-12 11:27:19 +02:00
adp5520.c mfd: Convert adp5520 to dev_pm_ops 2011-03-23 10:41:43 +01:00
asic3.c w1: ds1wm: add a reset recovery parameter 2011-07-08 21:14:44 -07:00
cs5535-mfd.c mfd: OLPC: Clean up names to match what OLPC actually uses 2011-03-27 00:09:31 +01:00
da903x.c mfd: Fix da903x_add_subdevs error path 2010-10-29 00:28:56 +02:00
davinci_voicecodec.c mfd: Use mfd cell platform_data for davinci cells platform bits 2011-05-26 19:45:13 +02:00
db5500-prcmu-regs.h mfd: add DB5500 PRCMU driver 2011-05-24 22:19:37 +02:00
db5500-prcmu.c mfd: add DB5500 PRCMU driver 2011-05-24 22:19:37 +02:00
db8500-prcmu-regs.h mfd: update DB8500 PRCMU driver 2011-05-24 22:18:57 +02:00
db8500-prcmu.c mfd: Use mfd cell platform_data for db8500-prcmu cells platform bits 2011-05-28 08:35:36 +02:00
dm355evm_msp.c
ezx-pcap.c Fix common misspellings 2011-03-31 11:26:23 -03:00
htc-egpio.c mfd: Fold irq_set_chip/irq_set_handler 2011-03-27 00:09:52 +01:00
htc-i2cpld.c mfd: Fold irq_set_chip/irq_set_handler 2011-03-27 00:09:52 +01:00
htc-pasic3.c w1: ds1wm: add a reset recovery parameter 2011-07-08 21:14:44 -07:00
janz-cmodio.c mfd: Use mfd cell platform_data for janz cells platform bits 2011-05-26 19:45:08 +02:00
jz4740-adc.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00
Kconfig mfd: Add Makefile and Kconfig Entries for tps65911 comparator 2011-07-05 10:39:38 +02:00
lpc_sch.c mfd: Add Tunnel Creek support to lpc_sch 2011-03-23 10:42:08 +01:00
Makefile mfd: Add Makefile and Kconfig Entries for tps65911 comparator 2011-07-05 10:39:38 +02:00
max8925-core.c mfd: Remove checking on max8925 regulator[0] 2011-05-26 19:45:37 +02:00
max8925-i2c.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
max8997-irq.c mfd: Clean up max8997 IRQ namespace 2011-03-27 00:09:53 +01:00
max8997.c mfd: MAX8997/8966 support 2011-03-23 10:42:03 +01:00
max8998-irq.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00
max8998.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00
mc13xxx-core.c mfd: Use mfd cell platform_data for mc13xxx cells platform bits 2011-05-26 19:45:07 +02:00
mcp-core.c move drivers/mfd/*.h to include/linux/mfd 2009-11-27 21:07:18 +01:00
mcp-sa11x0.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
menelaus.c mfd: update workqueue usages 2010-12-24 16:00:17 +01:00
mfd-core.c mfd: Add platform data pointer back 2011-05-26 19:44:56 +02:00
omap-usb-host.c Revert "mfd: Add omap-usbhs runtime PM support" 2011-07-05 10:38:43 +02:00
pcf50633-adc.c mfd: pcf50633-adc: Fix potential race in pcf50633_adc_sync_read 2010-05-28 01:37:49 +02:00
pcf50633-core.c Fix common misspellings 2011-03-31 11:26:23 -03:00
pcf50633-gpio.c
pcf50633-irq.c mfd: Move pcf50633 irq related functions to its own file. 2010-05-28 01:37:50 +02:00
pm8xxx-irq.c mfd: Add pm8xxx irq support 2011-05-26 19:45:28 +02:00
pm8921-core.c mfd: Add pm8xxx irq support 2011-05-26 19:45:28 +02:00
rdc321x-southbridge.c mfd: Use mfd cell platform_data for rdc321x cells platform bits 2011-05-26 19:45:06 +02:00
sm501.c video, sm501: add OF binding to support SM501 2011-03-22 17:17:14 +09:00
stmpe.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00
stmpe.h mfd: Add stmpe auto sleep feature 2010-08-12 11:28:00 +02:00
t7l66xb.c mtd: Use platform_data to retrieve tmio_nand platform bits 2011-05-26 19:45:04 +02:00
tc3589x.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00
tc6387xb.c mmc: Use device platform_data to retrieve tmio_mmc platform bits 2011-05-26 19:44:59 +02:00
tc6393xb.c mtd: Use platform_data to retrieve tmio_nand platform bits 2011-05-26 19:45:04 +02:00
ti-ssp.c mfd: add driver for sequencer serial port 2011-03-15 08:17:22 -07:00
timberdale.c mfd: Use mfd cell platform_data for timberdale cells platform bits 2011-05-26 19:45:05 +02:00
timberdale.h [media] mfd: Add timberdale video-in driver to timberdale 2010-12-29 08:16:46 -02:00
tmio_core.c mfd: tmio_mmc hardware abstraction for CNF area 2010-01-18 12:30:27 +01:00
tps6105x.c mfd: Use mfd cell platform_data for tps6105x cells platform bits 2011-05-26 19:45:11 +02:00
tps6507x.c mfd: Fix off-by-one value range checking for tps6507x 2010-10-29 00:30:29 +02:00
tps6586x.c mfd: Fix tps6586x GPIO value setting 2011-05-26 19:45:31 +02:00
tps65010.c mfd: Include <linux/gpio.h> instead of <asm/gpio.h> 2011-01-14 12:37:36 +01:00
tps65910-irq.c TPS65911: Add new irq definitions 2011-05-27 10:49:10 +01:00
tps65910.c MFD: TPS65910: Add support for TPS65911 device 2011-05-27 10:49:10 +01:00
tps65911-comparator.c mfd: Fix build error for tps65911-comparator.c 2011-07-05 10:39:30 +02:00
twl-core.c mfd: Add phoenix lite (twl6025) support to twl6030 2011-05-26 19:45:39 +02:00
twl-core.h mfd: Fix twl-irq function declaration warnings 2010-10-29 00:30:16 +02:00
twl4030-codec.c mfd: Update twl4030-code maintainer e-mail address 2011-05-26 19:45:45 +02:00
twl4030-irq.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00
twl4030-madc.c mfd: Add "platform:" prefix for twl4030-madc platform modalias 2011-03-23 10:42:05 +01:00
twl4030-power.c mfd: Check twl4030-power remove script error condition after i2cwrite 2011-05-26 19:45:41 +02:00
twl6030-irq.c mfd: Fix twl6030 irq definitions 2011-05-26 19:45:40 +02:00
twl6030-pwm.c mfd: Add support for TWL6030 PWM 2010-08-12 11:27:59 +02:00
ucb1x00-assabet.c move drivers/mfd/*.h to include/linux/mfd 2009-11-27 21:07:18 +01:00
ucb1x00-core.c mfd: Fix ucb1x00 build failure for collie_defconfig 2010-03-07 22:17:39 +01:00
ucb1x00-ts.c mfd: Add BTN_TOUCH event to ucb1x00-ts 2011-03-23 10:41:45 +01:00
ucb1400_core.c Fix common misspellings 2011-03-31 11:26:23 -03:00
vx855.c mfd: Add MODULE_DEVICE_TABLE to vx855 2011-03-23 10:41:59 +01:00
wl1273-core.c mfd: Fix wl1273 warning 2011-05-26 19:45:20 +02:00
wm831x-core.c mfd: Provide platform data for WM831x GPIO configuration 2011-05-26 19:45:18 +02:00
wm831x-i2c.c mfd: Remove copy from WM831x I2C write function 2011-03-23 10:42:09 +01:00
wm831x-irq.c mfd: Continue with IRQ setup even if we don't have PMIC main IRQ 2011-05-26 19:45:19 +02:00
wm831x-otp.c
wm831x-spi.c mfd: Convert WM831x SPI to use dev_pm_ops 2011-03-23 10:41:45 +01:00
wm8350-core.c mfd: Fix wrong wm8350-core kfree in error path 2010-08-12 11:28:08 +02:00
wm8350-gpio.c
wm8350-i2c.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
wm8350-irq.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00
wm8350-regmap.c mfd: Remove build time warning for WM835x register default tables 2009-12-13 19:21:53 +01:00
wm8400-core.c mfd: Use mfd cell platform_data for wm8400 cells platform bits 2011-05-26 19:45:14 +02:00
wm8994-core.c mfd: Push byte swaps out of wm8994 bulk read path 2011-03-23 10:42:11 +01:00
wm8994-irq.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00