dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/include/linux/i2c
Gregory Bean 5affb60772 gpio: sx150x: correct and refine reset-on-probe behavior
Replace the arbitrary software-reset call from the device-probe
method, because:

- It is defective.  To work correctly, it should be two byte writes,
  not a single word write.  As it stands, it does nothing.

- Some devices with sx150x expanders installed have their NRESET pins
  ganged on the same line, so resetting one causes the others to reset -
  not a nice thing to do arbitrarily!

- The probe, usually taking place at boot, implies a recent hard-reset,
  so a software reset at this point is just a waste of energy anyway.

Therefore, make it optional, defaulting to off, as this will match the
common case of probing at powerup and also matches the current broken
no-op behavior.

Signed-off-by: Gregory Bean <gbean@codeaurora.org>
Reviewed-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-09-09 18:57:24 -07:00
..
adp5588.h Input: adp5588-keys - export unused GPIO pins 2010-07-26 01:17:41 -07:00
adp8860.h backlight: adp8860: add support for ADP8861 & ADP8863 2010-05-26 13:08:33 +01:00
at24.h memory_accessor: implement the new memory_accessor interface for I2C EEPROM 2009-04-02 19:04:50 -07:00
dm355evm_msp.h mfd: dm355evm msp430 driver 2009-01-04 12:17:43 +01:00
lm8323.h Input: introduce lm8323 keypad driver 2009-05-15 20:13:25 -07:00
ltc4245.h hwmon: (ltc4245) Expose all GPIO pins as analog voltages 2010-08-14 21:08:49 +02:00
max732x.h gpio: add interrupt handling capability to max732x 2010-05-27 09:12:41 -07:00
mcs.h Input: mcs - Add MCS touchkey driver 2010-07-04 01:23:26 -07:00
pca953x.h gpiolib: make names array and its values const 2010-05-27 09:12:41 -07:00
pca954x.h i2c: I2C bus multiplexer driver pca954x 2010-08-11 18:21:03 +02:00
pcf857x.h i2c: Kill the old driver matching scheme 2008-05-18 20:49:41 +02:00
qt602240_ts.h Input: Add ATMEL QT602240 touchscreen driver 2010-07-14 21:58:52 -07:00
s6000.h i2c: xtensa s6000 i2c driver 2009-04-07 10:23:34 +01:00
sx150x.h gpio: sx150x: correct and refine reset-on-probe behavior 2010-09-09 18:57:24 -07:00
tps65010.h mfd: Allow configuration of VDCDC2 for tps65010 2009-12-13 19:21:36 +01:00
tsc2007.h Input: add tsc2007 based touchscreen driver 2008-12-20 05:00:43 -05:00
twl.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2010-05-20 09:41:44 -07:00