]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-hid-sensor-time: add support for milliseconds
authorAlexander Holler <holler@ahsoftware.de>
Thu, 23 May 2013 00:37:59 +0000 (10:37 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 27 May 2013 06:09:28 +0000 (16:09 +1000)
commitedbab44c06fc16ba1fdc9ced429bf6a3854a6055
treecfbe3d429eca3815a6a54ced1ea8496e7b9497aa
parentef767b4589e74218a6c500010204aab2fe09d9e4
rtc: rtc-hid-sensor-time: add support for milliseconds

If a device sends milliseconds too, the driver will use them if it sets
the system clock at startup (through module option hctosys).

Signed-off-by: Alexander Holler <holler@ahsoftware.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-hid-sensor-time.c
include/linux/hid-sensor-ids.h