]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ptp: Fix clock_getres() implementation
authorThomas Gleixner <tglx@linutronix.de>
Mon, 5 Dec 2011 20:16:06 +0000 (21:16 +0100)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Tue, 10 Jan 2012 21:00:10 +0000 (13:00 -0800)
commit082dc6f6379d9319e61a8df3a74ec248046cd585
treeb7d659ef0d0b5729b3cd11986a20d558be87cebb
parent26164f9d05953429520c106e166d35aaf0a80f5c
ptp: Fix clock_getres() implementation

commit d68fb11c3dae75c8331538dcf083a65e697cc034 upstream.

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: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ptp/ptp_clock.c