diff options
author | Janusz Krzysztofik <jmkrzyszt@gmail.com> | 2018-07-03 00:28:28 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-07-03 08:07:54 +0200 |
commit | d08605a64e67944eaecfb0e6340f633e01376951 (patch) | |
tree | e4f7b625f22f3ad202dfb4445650f0830ed2296c /drivers/input | |
parent | Input: ams_delta_serio: Get FIQ buffer from platform_data (diff) | |
download | linux-d08605a64e67944eaecfb0e6340f633e01376951.tar.xz linux-d08605a64e67944eaecfb0e6340f633e01376951.zip |
ARM: OMAP1: ams-delta: move late devices back to init_machine
Initialization of several Amstrad Delta devices was once moved to
late_initcall by commit f7519d8c8290 ("ARM: OMAP1: ams-delta: register
latch dependent devices later"). The purpose of that move was to allow
smooth conversion of Amstrad Delta latches to GPIO.
After successful conversion only ams_delta_serio driver was moved back
to device_initcall by commit 8d09a1bb3147 ("input: serio: ams-delta:
toggle keyboard power over GPIO"). Registration of ams-delta-nand and
lcd_ams_delta devices was kept in late_initcall in order to avoid
corrupt data reported by the serio driver on boot. Registration of
cx20442-codec device was kept there for it to be probed after a
regulator on which it depended was ready.
The issue of "keybrd_dataout" GPIO pin not initilized to GPIO_OUT_LOW
before other latch2 pins causing the corruption have been apparently
fixed by commit 5322c19b117a ("ARM: OMAP1: ams-delta: Hog
"keybrd_dataout" GPIO pin"). In turn, the issue of missing regulator
has been fixed by commit 50c678772a0b ("ASoC: cx20442: Don't ignore
regulator_get() errors.").
Simplify the board init code by moving registration of those devices
back to init_machine.
Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions