Re: [PATCH 08/12] rtc: omap: restore irq state after reading TC registers

2014-10-23 Thread Felipe Balbi
On Wed, Oct 22, 2014 at 12:50:11PM +0200, Johan Hovold wrote: On Sat, Oct 11, 2014 at 07:47:58PM -0500, Felipe Balbi wrote: On Sat, Oct 11, 2014 at 12:12:01PM +0200, Johan Hovold wrote: On Fri, Oct 10, 2014 at 01:02:31PM -0500, Felipe Balbi wrote: Hi, On Thu, Oct 09, 2014 at

Re: [PATCH 08/12] rtc: omap: restore irq state after reading TC registers

2014-10-22 Thread Johan Hovold
On Sat, Oct 11, 2014 at 07:47:58PM -0500, Felipe Balbi wrote: On Sat, Oct 11, 2014 at 12:12:01PM +0200, Johan Hovold wrote: On Fri, Oct 10, 2014 at 01:02:31PM -0500, Felipe Balbi wrote: Hi, On Thu, Oct 09, 2014 at 09:06:30PM +0200, Johan Hovold wrote: Make sure to restore local

Re: [PATCH 08/12] rtc: omap: restore irq state after reading TC registers

2014-10-11 Thread Johan Hovold
On Fri, Oct 10, 2014 at 01:02:31PM -0500, Felipe Balbi wrote: Hi, On Thu, Oct 09, 2014 at 09:06:30PM +0200, Johan Hovold wrote: Make sure to restore local irq state when reading the timer/calendar (TC) registers, so that omap_rtc_read_time() can be called with interrupts disabled.

Re: [PATCH 08/12] rtc: omap: restore irq state after reading TC registers

2014-10-11 Thread Felipe Balbi
On Sat, Oct 11, 2014 at 12:12:01PM +0200, Johan Hovold wrote: On Fri, Oct 10, 2014 at 01:02:31PM -0500, Felipe Balbi wrote: Hi, On Thu, Oct 09, 2014 at 09:06:30PM +0200, Johan Hovold wrote: Make sure to restore local irq state when reading the timer/calendar (TC) registers, so that

Re: [PATCH 08/12] rtc: omap: restore irq state after reading TC registers

2014-10-10 Thread Felipe Balbi
Hi, On Thu, Oct 09, 2014 at 09:06:30PM +0200, Johan Hovold wrote: Make sure to restore local irq state when reading the timer/calendar (TC) registers, so that omap_rtc_read_time() can be called with interrupts disabled. Signed-off-by: Johan Hovold jo...@kernel.org ---

[PATCH 08/12] rtc: omap: restore irq state after reading TC registers

2014-10-09 Thread Johan Hovold
Make sure to restore local irq state when reading the timer/calendar (TC) registers, so that omap_rtc_read_time() can be called with interrupts disabled. Signed-off-by: Johan Hovold jo...@kernel.org --- drivers/rtc/rtc-omap.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff