]> git.baikalelectronics.ru Git - kernel.git/commit
media: uvcvideo: Use ktime_t for stats
authorArnd Bergmann <arnd@arndb.de>
Mon, 27 Nov 2017 13:19:53 +0000 (08:19 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 4 Jan 2018 11:36:27 +0000 (06:36 -0500)
commita9e6e44a88944e10f922d7631e0c9baa51109ae5
treea01a5c887511814686000192cb38b05309885c76
parent52d58225ede80759a2746a7dd986c8835ad48eee
media: uvcvideo: Use ktime_t for stats

'struct timespec' works fine here, but we try to migrate
away from it in favor of ktime_t or timespec64. In this
case, using ktime_t produces the simplest code.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/uvc/uvc_video.c
drivers/media/usb/uvc/uvcvideo.h