Messages in this thread | | | Date | Fri, 2 Aug 2013 10:06:07 +0200 | From | Wolfram Sang <> | Subject | Re: [PATCH] rtc: rtc-stmp3xxx: provide timeout for potentially endless loop polling a HW bit |
| |
On Wed, Jul 31, 2013 at 04:29:01PM +0200, Lothar Waßmann wrote: > It's always a bad idea to poll on HW bits without a timeout. > > The i.MX28 RTC can be easily brought into a state in which the RTC is > not running (until after a power-on-reset) and thus the status bits > which are polled in the driver won't ever change. > > This patch prevents the kernel from getting stuck in this case. > > Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
[unhandled content-type:application/pgp-signature] | |