Messages in this thread | | | Date | Mon, 27 Oct 2008 17:51:59 +0100 | From | Alessandro Zummo <> | Subject | Re: [PATCH 1/2] rtc: Fix handling of missing tm_year data when reading alarms |
| |
On Mon, 27 Oct 2008 15:38:24 +0000 Mark Brown <broonie@opensource.wolfsonmicro.com> wrote:
> When fixing up invalid years rtc_read_alarm() is callign rtc_valid_tm() > as a boolean but rtc_valid_tm() returns zero on success or a negative > number if the time is not valid so the test is inverted. > > Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
--
Best regards,
Alessandro Zummo, Tower Technologies - Torino, Italy
http://www.towertech.it
| |