Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-29 Thread Johan Hovold
On Thu, Mar 28, 2013 at 02:20:17PM -0400, Douglas Gilbert wrote: > On 13-03-28 05:57 AM, Johan Hovold wrote: > > On Tue, Mar 26, 2013 at 05:09:59PM -0400, Douglas Gilbert wrote: > >> On 13-03-26 03:27 PM, Johan Hovold wrote: > >>> On Fri, Mar 15, 2013 at 06:37:12PM +0100, Nicolas Ferre wrote: >

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-29 Thread Johan Hovold
On Thu, Mar 28, 2013 at 05:16:00PM +0100, Nicolas Ferre wrote: > On 03/28/2013 10:57 AM, Johan Hovold : > > On Tue, Mar 26, 2013 at 05:09:59PM -0400, Douglas Gilbert wrote: > >> On 13-03-26 03:27 PM, Johan Hovold wrote: > >>> On Fri, Mar 15, 2013 at 06:37:12PM +0100, Nicolas Ferre wrote: [...] >

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-29 Thread Nicolas Ferre
On 03/28/2013 07:20 PM, Douglas Gilbert : > On 13-03-28 05:57 AM, Johan Hovold wrote: >> On Tue, Mar 26, 2013 at 05:09:59PM -0400, Douglas Gilbert wrote: >>> On 13-03-26 03:27 PM, Johan Hovold wrote: On Fri, Mar 15, 2013 at 06:37:12PM +0100, Nicolas Ferre wrote: > On some revisions of

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-29 Thread Nicolas Ferre
On 03/28/2013 07:20 PM, Douglas Gilbert : On 13-03-28 05:57 AM, Johan Hovold wrote: On Tue, Mar 26, 2013 at 05:09:59PM -0400, Douglas Gilbert wrote: On 13-03-26 03:27 PM, Johan Hovold wrote: On Fri, Mar 15, 2013 at 06:37:12PM +0100, Nicolas Ferre wrote: On some revisions of AT91 SoCs, the RTC

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-29 Thread Johan Hovold
On Thu, Mar 28, 2013 at 05:16:00PM +0100, Nicolas Ferre wrote: On 03/28/2013 10:57 AM, Johan Hovold : On Tue, Mar 26, 2013 at 05:09:59PM -0400, Douglas Gilbert wrote: On 13-03-26 03:27 PM, Johan Hovold wrote: On Fri, Mar 15, 2013 at 06:37:12PM +0100, Nicolas Ferre wrote: [...] @@ -198,9

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-29 Thread Johan Hovold
On Thu, Mar 28, 2013 at 02:20:17PM -0400, Douglas Gilbert wrote: On 13-03-28 05:57 AM, Johan Hovold wrote: On Tue, Mar 26, 2013 at 05:09:59PM -0400, Douglas Gilbert wrote: On 13-03-26 03:27 PM, Johan Hovold wrote: On Fri, Mar 15, 2013 at 06:37:12PM +0100, Nicolas Ferre wrote: On some

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-28 Thread Douglas Gilbert
On 13-03-28 05:57 AM, Johan Hovold wrote: On Tue, Mar 26, 2013 at 05:09:59PM -0400, Douglas Gilbert wrote: On 13-03-26 03:27 PM, Johan Hovold wrote: On Fri, Mar 15, 2013 at 06:37:12PM +0100, Nicolas Ferre wrote: On some revisions of AT91 SoCs, the RTC IMR register is not working. Instead of

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-28 Thread Nicolas Ferre
On 03/28/2013 10:57 AM, Johan Hovold : > On Tue, Mar 26, 2013 at 05:09:59PM -0400, Douglas Gilbert wrote: >> On 13-03-26 03:27 PM, Johan Hovold wrote: >>> On Fri, Mar 15, 2013 at 06:37:12PM +0100, Nicolas Ferre wrote: On some revisions of AT91 SoCs, the RTC IMR register is not working.

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-28 Thread Johan Hovold
On Tue, Mar 26, 2013 at 05:09:59PM -0400, Douglas Gilbert wrote: > On 13-03-26 03:27 PM, Johan Hovold wrote: > > On Fri, Mar 15, 2013 at 06:37:12PM +0100, Nicolas Ferre wrote: > >> On some revisions of AT91 SoCs, the RTC IMR register is not working. > >> Instead of elaborating a workaround for

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-28 Thread Douglas Gilbert
On 13-03-28 05:57 AM, Johan Hovold wrote: On Tue, Mar 26, 2013 at 05:09:59PM -0400, Douglas Gilbert wrote: On 13-03-26 03:27 PM, Johan Hovold wrote: On Fri, Mar 15, 2013 at 06:37:12PM +0100, Nicolas Ferre wrote: On some revisions of AT91 SoCs, the RTC IMR register is not working. Instead of

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-28 Thread Johan Hovold
On Tue, Mar 26, 2013 at 05:09:59PM -0400, Douglas Gilbert wrote: On 13-03-26 03:27 PM, Johan Hovold wrote: On Fri, Mar 15, 2013 at 06:37:12PM +0100, Nicolas Ferre wrote: On some revisions of AT91 SoCs, the RTC IMR register is not working. Instead of elaborating a workaround for that

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-28 Thread Nicolas Ferre
On 03/28/2013 10:57 AM, Johan Hovold : On Tue, Mar 26, 2013 at 05:09:59PM -0400, Douglas Gilbert wrote: On 13-03-26 03:27 PM, Johan Hovold wrote: On Fri, Mar 15, 2013 at 06:37:12PM +0100, Nicolas Ferre wrote: On some revisions of AT91 SoCs, the RTC IMR register is not working. Instead of

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-26 Thread Douglas Gilbert
On 13-03-26 03:27 PM, Johan Hovold wrote: On Fri, Mar 15, 2013 at 06:37:12PM +0100, Nicolas Ferre wrote: On some revisions of AT91 SoCs, the RTC IMR register is not working. Instead of elaborating a workaround for that specific SoC or IP version, we simply use a software variable to store the

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-26 Thread Johan Hovold
On Fri, Mar 15, 2013 at 06:37:12PM +0100, Nicolas Ferre wrote: > On some revisions of AT91 SoCs, the RTC IMR register is not working. > Instead of elaborating a workaround for that specific SoC or IP version, > we simply use a software variable to store the Interrupt Mask Register and > modify it

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-26 Thread Johan Hovold
On Fri, Mar 15, 2013 at 06:37:12PM +0100, Nicolas Ferre wrote: On some revisions of AT91 SoCs, the RTC IMR register is not working. Instead of elaborating a workaround for that specific SoC or IP version, we simply use a software variable to store the Interrupt Mask Register and modify it for

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-26 Thread Douglas Gilbert
On 13-03-26 03:27 PM, Johan Hovold wrote: On Fri, Mar 15, 2013 at 06:37:12PM +0100, Nicolas Ferre wrote: On some revisions of AT91 SoCs, the RTC IMR register is not working. Instead of elaborating a workaround for that specific SoC or IP version, we simply use a software variable to store the

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-21 Thread Andrew Morton
On Wed, 20 Mar 2013 21:15:23 -0400 Douglas Gilbert wrote: > On 13-03-20 05:50 PM, Andrew Morton wrote: > > On Fri, 15 Mar 2013 18:37:12 +0100 Nicolas Ferre > > wrote: > > > >> On some revisions of AT91 SoCs, the RTC IMR register is not working. > >> Instead of elaborating a workaround for

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-21 Thread Nicolas Ferre
On 03/20/2013 10:50 PM, Andrew Morton : > On Fri, 15 Mar 2013 18:37:12 +0100 Nicolas Ferre > wrote: > >> On some revisions of AT91 SoCs, the RTC IMR register is not working. >> Instead of elaborating a workaround for that specific SoC or IP version, >> we simply use a software variable to store

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-21 Thread Nicolas Ferre
On 03/20/2013 10:50 PM, Andrew Morton : On Fri, 15 Mar 2013 18:37:12 +0100 Nicolas Ferre nicolas.fe...@atmel.com wrote: On some revisions of AT91 SoCs, the RTC IMR register is not working. Instead of elaborating a workaround for that specific SoC or IP version, we simply use a software

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-21 Thread Andrew Morton
On Wed, 20 Mar 2013 21:15:23 -0400 Douglas Gilbert dgilb...@interlog.com wrote: On 13-03-20 05:50 PM, Andrew Morton wrote: On Fri, 15 Mar 2013 18:37:12 +0100 Nicolas Ferre nicolas.fe...@atmel.com wrote: On some revisions of AT91 SoCs, the RTC IMR register is not working. Instead of

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-20 Thread Douglas Gilbert
On 13-03-20 05:50 PM, Andrew Morton wrote: On Fri, 15 Mar 2013 18:37:12 +0100 Nicolas Ferre wrote: On some revisions of AT91 SoCs, the RTC IMR register is not working. Instead of elaborating a workaround for that specific SoC or IP version, we simply use a software variable to store the

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-20 Thread Andrew Morton
On Fri, 15 Mar 2013 18:37:12 +0100 Nicolas Ferre wrote: > On some revisions of AT91 SoCs, the RTC IMR register is not working. > Instead of elaborating a workaround for that specific SoC or IP version, > we simply use a software variable to store the Interrupt Mask Register and > modify it for

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-20 Thread Andrew Morton
On Fri, 15 Mar 2013 18:37:12 +0100 Nicolas Ferre nicolas.fe...@atmel.com wrote: On some revisions of AT91 SoCs, the RTC IMR register is not working. Instead of elaborating a workaround for that specific SoC or IP version, we simply use a software variable to store the Interrupt Mask Register

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-20 Thread Douglas Gilbert
On 13-03-20 05:50 PM, Andrew Morton wrote: On Fri, 15 Mar 2013 18:37:12 +0100 Nicolas Ferre nicolas.fe...@atmel.com wrote: On some revisions of AT91 SoCs, the RTC IMR register is not working. Instead of elaborating a workaround for that specific SoC or IP version, we simply use a software

[PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-15 Thread Nicolas Ferre
On some revisions of AT91 SoCs, the RTC IMR register is not working. Instead of elaborating a workaround for that specific SoC or IP version, we simply use a software variable to store the Interrupt Mask Register and modify it for each enabling/disabling of an interrupt. The overhead of this is

[PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-15 Thread Nicolas Ferre
On some revisions of AT91 SoCs, the RTC IMR register is not working. Instead of elaborating a workaround for that specific SoC or IP version, we simply use a software variable to store the Interrupt Mask Register and modify it for each enabling/disabling of an interrupt. The overhead of this is