Messages in this thread | | | From | Venu Byravarasu <> | Date | Fri, 13 Apr 2012 11:05:23 +0530 | Subject | RE: [PATCH] rtc: tegra: cleanup probe/remove routines |
| |
> + if (info->tegra_rtc_irq <= 0) > + return -EBUSY; Interrupt support is needed only for wake up or timer support. Apart from them RTC can be used for reference time keeping.
So, is it not good to print a warn message as "wake up with alarm is not supported" and proceed further instead of returning failure from the driver itself?
| |