Re: query regarding not returning error if request_irq fails after rtc registration

2014-05-15 Thread Alessandro Zummo
On Thu, 15 May 2014 22:15:14 +0530 RAGHAVENDRA GANIGA wrote: > my question is that the set_alarm and alarm_irq_enable is still active, > so should i use some flag in the global private variable of the driver > so that if the request irq fails, then using this flag the set_alarm > and

query regarding not returning error if request_irq fails after rtc registration

2014-05-15 Thread RAGHAVENDRA GANIGA
in ds1343 driver after the rtc is registered using devm_rtc_device_register i am requesting irq using devm_request_threaded_irq, in case this request fails instead of the driver bailing out it just uses dev_err to show the error and the driver probe returns zero my question is that the set_alarm

query regarding not returning error if request_irq fails after rtc registration

2014-05-15 Thread RAGHAVENDRA GANIGA
in ds1343 driver after the rtc is registered using devm_rtc_device_register i am requesting irq using devm_request_threaded_irq, in case this request fails instead of the driver bailing out it just uses dev_err to show the error and the driver probe returns zero my question is that the set_alarm

Re: query regarding not returning error if request_irq fails after rtc registration

2014-05-15 Thread Alessandro Zummo
On Thu, 15 May 2014 22:15:14 +0530 RAGHAVENDRA GANIGA ravi23gan...@gmail.com wrote: my question is that the set_alarm and alarm_irq_enable is still active, so should i use some flag in the global private variable of the driver so that if the request irq fails, then using this flag the