mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 07:04:00 +08:00
337ce5d1c5
The first releases of LP3974 have a large delay in RTC registers, which requires 2 seconds of delay after writing to a rtc register (recommended by National Semiconductor's engineers) before reading it. If "rtc_delay" field of the platform data is true, the rtc driver assumes that such delays are required. Although we have not seen LP3974s without requiring such delays, we assume that such LP3974s will be released soon (or they have done so already) and they are supported by "lp3974" without setting "rtc_delay" at the platform data. This patch adds delays with msleep when writing values to RTC registers if the platform data has rtc_delay set. Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> |
||
---|---|---|
.. | ||
pcf50633 | ||
wm831x | ||
wm8350 | ||
wm8994 | ||
88pm860x.h | ||
ab8500.h | ||
abx500.h | ||
adp5520.h | ||
asic3.h | ||
core.h | ||
da903x.h | ||
davinci_voicecodec.h | ||
ds1wm.h | ||
ezx-pcap.h | ||
htc-egpio.h | ||
htc-pasic3.h | ||
janz.h | ||
max8925.h | ||
max8998-private.h | ||
max8998.h | ||
mc13xxx.h | ||
mc13783.h | ||
mc13892.h | ||
mcp.h | ||
rdc321x.h | ||
sh_mobile_sdhi.h | ||
stmpe.h | ||
t7l66xb.h | ||
tc3589x.h | ||
tc6387xb.h | ||
tc6393xb.h | ||
tmio.h | ||
tps6507x.h | ||
tps6586x.h | ||
twl4030-codec.h | ||
ucb1x00.h | ||
wl1273-core.h | ||
wm8400-audio.h | ||
wm8400-private.h | ||
wm8400.h |