| 9a4eb597 | 18-Oct-2015 |
Simon Glass <sjg@chromium.org> |
dm: rtc: Correct rtc_read32() return value
The current check is incorrect and will fail when any non-zero byte is read. Fix it.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <
dm: rtc: Correct rtc_read32() return value
The current check is incorrect and will fail when any non-zero byte is read. Fix it.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| b26eb886 | 18-Oct-2015 |
Simon Glass <sjg@chromium.org> |
rtc: mc146818: Use probe() to set up the device
At present this driver uses bind() to set up the device. The bind() method should not touch the hardware, so move the init code to probe().
Signed-of
rtc: mc146818: Use probe() to set up the device
At present this driver uses bind() to set up the device. The bind() method should not touch the hardware, so move the init code to probe().
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|