]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l2-dev.c: add debug sysfs entry
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 22 Jun 2012 09:37:38 +0000 (06:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jul 2012 20:25:31 +0000 (17:25 -0300)
commitd2c5ae944de4cffbfe4f8fd4ed19a2fbca7f54c9
tree645af85d4922b22b7c457bcfcf1005b22e1439d6
parentdba65cc46bf39837aea36e88c31318bcd3bd9da0
[media] v4l2-dev.c: add debug sysfs entry

Since this could theoretically change the debug value while in the middle
of v4l2-ioctl.c, we make a copy of vfd->debug to ensure consistent debug
behavior.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-dev.c
drivers/media/video/v4l2-ioctl.c