Re: [PATCH 4/4 v4] rtc: add rtc-driver for HID sensors of type time

2012-12-14 Thread Alexander Holler
Am 14.12.2012 17:33, schrieb Lars-Peter Clausen: On 12/14/2012 04:24 PM, Alexander Holler wrote: Am 14.12.2012 15:34, schrieb Lars-Peter Clausen: On 12/14/2012 03:29 PM, Alexander Holler wrote: Am 14.12.2012 15:15, schrieb Alexander Holler: Am 14.12.2012 14:08, schrieb Alexander Holler: Am

Re: [PATCH 4/4 v4] rtc: add rtc-driver for HID sensors of type time

2012-12-14 Thread Lars-Peter Clausen
On 12/14/2012 04:24 PM, Alexander Holler wrote: > Am 14.12.2012 15:34, schrieb Lars-Peter Clausen: >> On 12/14/2012 03:29 PM, Alexander Holler wrote: >>> Am 14.12.2012 15:15, schrieb Alexander Holler: Am 14.12.2012 14:08, schrieb Alexander Holler: > Am 14.12.2012 10:42, schrieb Lars-Peter

Re: [PATCH 4/4 v4] rtc: add rtc-driver for HID sensors of type time

2012-12-14 Thread Alexander Holler
Am 14.12.2012 15:34, schrieb Lars-Peter Clausen: > On 12/14/2012 03:29 PM, Alexander Holler wrote: >> Am 14.12.2012 15:15, schrieb Alexander Holler: >>> Am 14.12.2012 14:08, schrieb Alexander Holler: Am 14.12.2012 10:42, schrieb Lars-Peter Clausen: >>> > And another thing I've overlooked

Re: [PATCH 4/4 v4] rtc: add rtc-driver for HID sensors of type time

2012-12-14 Thread Lars-Peter Clausen
On 12/14/2012 03:29 PM, Alexander Holler wrote: > Am 14.12.2012 15:15, schrieb Alexander Holler: >> Am 14.12.2012 14:08, schrieb Alexander Holler: >>> Am 14.12.2012 10:42, schrieb Lars-Peter Clausen: >> And another thing I've overlooked before: wait_for_completion_interruptible_timeout

Re: [PATCH 4/4 v4] rtc: add rtc-driver for HID sensors of type time

2012-12-14 Thread Alexander Holler
Am 14.12.2012 15:15, schrieb Alexander Holler: Am 14.12.2012 14:08, schrieb Alexander Holler: Am 14.12.2012 10:42, schrieb Lars-Peter Clausen: And another thing I've overlooked before: wait_for_completion_interruptible_timeout can either return a positive number when the completion was

Re: [PATCH 4/4 v4] rtc: add rtc-driver for HID sensors of type time

2012-12-14 Thread Alexander Holler
Am 14.12.2012 14:08, schrieb Alexander Holler: Am 14.12.2012 10:42, schrieb Lars-Peter Clausen: And another thing I've overlooked before: wait_for_completion_interruptible_timeout can either return a positive number when the completion was completed, 0 in case of an timeout, or a negative

Re: [PATCH 4/4 v4] rtc: add rtc-driver for HID sensors of type time

2012-12-14 Thread Alexander Holler
Am 14.12.2012 10:42, schrieb Lars-Peter Clausen: On 12/12/2012 12:11 PM, Alexander Holler wrote: This driver makes the time from HID sensors (hubs) which are offering such available like any other RTC does. Currently the time can only be read. Setting the time must be done through sending a

Re: [PATCH 4/4 v4] rtc: add rtc-driver for HID sensors of type time

2012-12-14 Thread Lars-Peter Clausen
On 12/12/2012 12:11 PM, Alexander Holler wrote: > This driver makes the time from HID sensors (hubs) which are offering > such available like any other RTC does. > > Currently the time can only be read. Setting the time must be done > through sending a report, which currently isn't supported by >

Re: [PATCH 4/4 v4] rtc: add rtc-driver for HID sensors of type time

2012-12-14 Thread Lars-Peter Clausen
On 12/12/2012 12:11 PM, Alexander Holler wrote: This driver makes the time from HID sensors (hubs) which are offering such available like any other RTC does. Currently the time can only be read. Setting the time must be done through sending a report, which currently isn't supported by

Re: [PATCH 4/4 v4] rtc: add rtc-driver for HID sensors of type time

2012-12-14 Thread Alexander Holler
Am 14.12.2012 10:42, schrieb Lars-Peter Clausen: On 12/12/2012 12:11 PM, Alexander Holler wrote: This driver makes the time from HID sensors (hubs) which are offering such available like any other RTC does. Currently the time can only be read. Setting the time must be done through sending a

Re: [PATCH 4/4 v4] rtc: add rtc-driver for HID sensors of type time

2012-12-14 Thread Alexander Holler
Am 14.12.2012 14:08, schrieb Alexander Holler: Am 14.12.2012 10:42, schrieb Lars-Peter Clausen: And another thing I've overlooked before: wait_for_completion_interruptible_timeout can either return a positive number when the completion was completed, 0 in case of an timeout, or a negative

Re: [PATCH 4/4 v4] rtc: add rtc-driver for HID sensors of type time

2012-12-14 Thread Alexander Holler
Am 14.12.2012 15:15, schrieb Alexander Holler: Am 14.12.2012 14:08, schrieb Alexander Holler: Am 14.12.2012 10:42, schrieb Lars-Peter Clausen: And another thing I've overlooked before: wait_for_completion_interruptible_timeout can either return a positive number when the completion was

Re: [PATCH 4/4 v4] rtc: add rtc-driver for HID sensors of type time

2012-12-14 Thread Lars-Peter Clausen
On 12/14/2012 03:29 PM, Alexander Holler wrote: Am 14.12.2012 15:15, schrieb Alexander Holler: Am 14.12.2012 14:08, schrieb Alexander Holler: Am 14.12.2012 10:42, schrieb Lars-Peter Clausen: And another thing I've overlooked before: wait_for_completion_interruptible_timeout can either return

Re: [PATCH 4/4 v4] rtc: add rtc-driver for HID sensors of type time

2012-12-14 Thread Alexander Holler
Am 14.12.2012 15:34, schrieb Lars-Peter Clausen: On 12/14/2012 03:29 PM, Alexander Holler wrote: Am 14.12.2012 15:15, schrieb Alexander Holler: Am 14.12.2012 14:08, schrieb Alexander Holler: Am 14.12.2012 10:42, schrieb Lars-Peter Clausen: And another thing I've overlooked before:

Re: [PATCH 4/4 v4] rtc: add rtc-driver for HID sensors of type time

2012-12-14 Thread Lars-Peter Clausen
On 12/14/2012 04:24 PM, Alexander Holler wrote: Am 14.12.2012 15:34, schrieb Lars-Peter Clausen: On 12/14/2012 03:29 PM, Alexander Holler wrote: Am 14.12.2012 15:15, schrieb Alexander Holler: Am 14.12.2012 14:08, schrieb Alexander Holler: Am 14.12.2012 10:42, schrieb Lars-Peter Clausen: And

Re: [PATCH 4/4 v4] rtc: add rtc-driver for HID sensors of type time

2012-12-14 Thread Alexander Holler
Am 14.12.2012 17:33, schrieb Lars-Peter Clausen: On 12/14/2012 04:24 PM, Alexander Holler wrote: Am 14.12.2012 15:34, schrieb Lars-Peter Clausen: On 12/14/2012 03:29 PM, Alexander Holler wrote: Am 14.12.2012 15:15, schrieb Alexander Holler: Am 14.12.2012 14:08, schrieb Alexander Holler: Am

[PATCH 4/4 v4] rtc: add rtc-driver for HID sensors of type time

2012-12-12 Thread Alexander Holler
This driver makes the time from HID sensors (hubs) which are offering such available like any other RTC does. Currently the time can only be read. Setting the time must be done through sending a report, which currently isn't supported by hid-sensor-hub. (I've planned to submit patches.) It is

[PATCH 4/4 v4] rtc: add rtc-driver for HID sensors of type time

2012-12-12 Thread Alexander Holler
This driver makes the time from HID sensors (hubs) which are offering such available like any other RTC does. Currently the time can only be read. Setting the time must be done through sending a report, which currently isn't supported by hid-sensor-hub. (I've planned to submit patches.) It is