RE: [PATCH] rtc: da9063: Fix ALARM interrupt registration.

2014-11-21 Thread Opensource [Steve Twiss]
On 21 November 2014 12:04 Dmitry Lavnikevich wrote: > > On 20Nov, 2014, at 15:43, Steve Twiss wrote: > > On 20 November 2014 13:09 Dmitry Lavnikevich wrote: > > [...] > >>> > >>> da9063-rtc da9063-rtc: Failed to request ALARM IRQ -22: -22 > >>> da9063-rtc: probe of da9063-rtc failed with error

Re: [PATCH] rtc: da9063: Fix ALARM interrupt registration.

2014-11-21 Thread Dmitry Lavnikevich
> On 20Nov, 2014, at 15:43, Opensource [Steve Twiss] > wrote: > > On 20 November 2014 13:09 Dmitry Lavnikevich wrote: > [...] >>> >>> da9063-rtc da9063-rtc: Failed to request ALARM IRQ -22: -22 >>> da9063-rtc: probe of da9063-rtc failed with error -22 >> >> I have tested this patch on pfla02

RE: [PATCH] rtc: da9063: Fix ALARM interrupt registration.

2014-11-20 Thread Opensource [Steve Twiss]
On 20 November 2014 13:09 Dmitry Lavnikevich wrote: > > On 20Nov, 2014, at 12:23, Steve Twiss wrote: > > On 20 November 2014 09:55 Dmitry Lavnikevich wrote: > > > >> Call platform_get_irq_byname() returns local IRQ number. Use > >> regmap_irq_get_virq() to get VIRQ instead. > >> This fixes rtc ini

Re: [PATCH] rtc: da9063: Fix ALARM interrupt registration.

2014-11-20 Thread Dmitry Lavnikevich
> On 20Nov, 2014, at 12:23, Opensource [Steve Twiss] > wrote: > > On 20 November 2014 09:55 Dmitry Lavnikevich wrote: > >> Call platform_get_irq_byname() returns local IRQ number. Use >> regmap_irq_get_virq() to get VIRQ instead. >> This fixes rtc initialization error: >> da9063-rtc da9063-rtc

RE: [PATCH] rtc: da9063: Fix ALARM interrupt registration.

2014-11-20 Thread Opensource [Steve Twiss]
On 20 November 2014 09:55 Dmitry Lavnikevich wrote: > Call platform_get_irq_byname() returns local IRQ number. Use > regmap_irq_get_virq() to get VIRQ instead. > This fixes rtc initialization error: > da9063-rtc da9063-rtc: Failed to request ALARM IRQ 1: -22 > > Signed-off-by: Dmitry Lavnikevich