lkml.org 
[lkml]   [2012]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRE: [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?



\
 
 \ /
  Last update: 2012-04-13 07:37    [W:0.057 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site