mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 01:10:28 +00:00
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> |
||
---|---|---|
.. | ||
adp5520-gpio.c | ||
adp5588-gpio.c | ||
bt8xxgpio.c | ||
cs5535-gpio.c | ||
gpiolib.c | ||
it8761e_gpio.c | ||
janz-ttl.c | ||
Kconfig | ||
langwell_gpio.c | ||
Makefile | ||
max730x.c | ||
max732x.c | ||
max7300.c | ||
max7301.c | ||
mc33880.c | ||
mcp23s08.c | ||
pca953x.c | ||
pcf857x.c | ||
pl061.c | ||
rdc321x-gpio.c | ||
sch_gpio.c | ||
stmpe-gpio.c | ||
sx150x.c | ||
tc35892-gpio.c | ||
timbgpio.c | ||
twl4030-gpio.c | ||
ucb1400_gpio.c | ||
vr41xx_giu.c | ||
wm831x-gpio.c | ||
wm8350-gpiolib.c | ||
wm8994-gpio.c | ||
xilinx_gpio.c |