[media] v4l2-dev: don't debug poll unless the debug level > 2
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 3 Mar 2014 09:47:38 +0000 (06:47 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 17 Jul 2014 21:30:36 +0000 (18:30 -0300)
commit57fc8eb19adc794e0d267b241561c8211a50d2a8
tree0f8e39c3cd5faaa45ace0de70b7f9a590c7c2839
parente34c4db8fe5c8d47753057b2409f9b8388f1896e
[media] v4l2-dev: don't debug poll unless the debug level > 2

Some applications poll a lot, so prevent the poll message from flooding
the log.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/v4l2-core/v4l2-dev.c