[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <D958900912E20642BCBC71664EFECE3E6DD67586A0@BGMAIL02.nvidia.com>
Date: Fri, 13 Apr 2012 11:05:23 +0530
From: Venu Byravarasu <vbyravarasu@...dia.com>
To: Hannu Heikkinen <hannuxx@....fi>,
"rtc-linux@...glegroups.com" <rtc-linux@...glegroups.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC: "a.zummo@...ertech.it" <a.zummo@...ertech.it>
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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists