[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 12 Dec 2012 11:18:55 +0100
From: Lars-Peter Clausen <lars@...afoo.de>
To: Alexander Holler <holler@...oftware.de>
CC: linux-kernel@...r.kernel.org, linux-iio@...r.kernel.org,
Jonathan Cameron <jic23@....ac.uk>, rtc-linux@...glegroups.com,
Alessandro Zummo <a.zummo@...ertech.it>,
srinivas pandruvada <srinivas.pandruvada@...el.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH 4/4 v3] rtc: add rtc-driver for HID sensors of type time
On 12/12/2012 11:14 AM, Alexander Holler wrote:
> Am 12.12.2012 10:51, schrieb Lars-Peter Clausen:
>
>> Looks good, but as I wrote during the last review the __devinits need to go.
>> A few other suggerstions online
>
> Oh, have forgotten it. Ok, will make a v4, changing the other few things too.
>
>>> + case HID_USAGE_SENSOR_TIME_MONTH:
>>> + time_buf->tm_mon = --*(u8 *)raw_data;
>
> Time sensors are sending the month in the range 1-12, not 0-11.
>
Ah, sorry, I guess hadn't had enough coffee yet, I read this as -(-(*(u8
*)raw_data))) and was a bit confused...
--
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