]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: Fix clock_getres() implementation
authorThomas Gleixner <tglx@linutronix.de>
Mon, 5 Dec 2011 20:16:06 +0000 (21:16 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 6 Dec 2011 10:38:32 +0000 (11:38 +0100)
commitbb3f8f7b0d9612fb98a6386695d85f12dde84d36
tree58e17fb372e78aac7bec64cff201379094c75ff4
parent9def3d41eabec0da18e621a16f360243cf653c46
ptp: Fix clock_getres() implementation

The clock_getres() function must return the resolution in the timespec
argument and return 0 for success.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: John Stultz <john.stultz@linaro.org>
Cc: stable@kernel.org
Cc: Richard Cochran <richard.cochran@omicron.at>
drivers/ptp/ptp_clock.c