mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-08 11:56:41 +07:00
8d09a1bb31
Don't use Amstrad Delta custom I/O functions once GPIO interface is available for the underlying hardware. While requesting and initializing GPIO pins used, also take care of one extra pin KEYBRD_DATAOUT which, even if not used by the driver, belongs to the device and affects its functioning. Once done, move the driver initialization back to the device_initcall level, reverting the temporary chane introduced with patch 1/7 "ARM: OMAP1: ams-delta: register latch dependent devices later". That change is no longer required once the driver takes care of registering used GPIO pins, and it's better to initialize the device before others using the latch2 based GPIO pins, otherwise a garbage is reported on boot, perhaps due to random data already captured by the FIQ handler while the keyboard related latch bits are written with random values during initialization of those other latch2 dependent devices. Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> Acked-by: Dmitry Torokhov <dtor@mail.ru> [tony@atomide.com: renamed _gpios to ams_delta_gpios] Signed-off-by: Tony Lindgren <tony@atomide.com> |
||
---|---|---|
.. | ||
altera_ps2.c | ||
ambakmi.c | ||
ams_delta_serio.c | ||
at32psif.c | ||
ct82c710.c | ||
gscps2.c | ||
hil_mlc.c | ||
hp_sdc_mlc.c | ||
hp_sdc.c | ||
i8042-io.h | ||
i8042-ip22io.h | ||
i8042-jazzio.h | ||
i8042-ppcio.h | ||
i8042-snirm.h | ||
i8042-sparcio.h | ||
i8042-unicore32io.h | ||
i8042-x86ia64io.h | ||
i8042.c | ||
i8042.h | ||
Kconfig | ||
libps2.c | ||
maceps2.c | ||
Makefile | ||
parkbd.c | ||
pcips2.c | ||
ps2mult.c | ||
q40kbd.c | ||
rpckbd.c | ||
sa1111ps2.c | ||
serio_raw.c | ||
serio.c | ||
serport.c | ||
xilinx_ps2.c |