[media] mem2mem_testdev: set timestamp_type and add debug param
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 17 Apr 2013 06:04:10 +0000 (03:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Apr 2013 12:48:49 +0000 (09:48 -0300)
commitd95d7c641299c1c77809d13565952d864da2d14d
tree037d42404f2930c94b21497b3b7ddcda1084a215
parenta8c9c345702b3f52a88498dea6b623dd3c3e27dc
[media] mem2mem_testdev: set timestamp_type and add debug param

While testing v4l2-ctl I noticed that this m2m driver didn't set timestamp_type
and that it spammed the kernel log with debug messages. Set timestamp_type
correctly and add debug module option to enable debug messages.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/mem2mem_testdev.c