diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2016-01-11 21:46:49 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-03-09 12:58:50 +0700 |
commit | dbc352b9f16de45277abf2e30d0317ce55fc1e57 (patch) | |
tree | 665bc45eb5549e55079a4d48723032cbdb6f1b19 /drivers/mfd/Kconfig | |
parent | bab070620ebe130ec5296817caf074f5f5211d71 (diff) |
mfd: tps65010: Fix init when the driver is built-in
tps65010 driver's initcall cannot succeed when the driver is built-in,
because it expects that the I2C probe is completed at initcall time;
this cannot happen as MFD is initialized before I2C. Also on systems
where the chip is not present there is unnecessary 30 ms delay during
the boot.
Instead of waiting for probe to finish, just register the I2C device.
If some boards need retry mechanism for startup glitches, that should be
done in the actual probe function. Also delete the driver banner message.
The patch allows to use tps65010 again with OMAP1 (where it's required
to be built-in) and enables e.g. USB and LED functionality on OMAP5912 OSK.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/Kconfig')
0 files changed, 0 insertions, 0 deletions