5affb60772
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> |
||
---|---|---|
.. | ||
adp5588.h | ||
adp8860.h | ||
at24.h | ||
dm355evm_msp.h | ||
lm8323.h | ||
ltc4245.h | ||
max732x.h | ||
mcs.h | ||
pca953x.h | ||
pca954x.h | ||
pcf857x.h | ||
qt602240_ts.h | ||
s6000.h | ||
sx150x.h | ||
tps65010.h | ||
tsc2007.h | ||
twl.h |