summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/v4l2-compat-ioctl32.c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@maxwell.research.nokia.com>2010-05-03 12:42:46 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 12:58:23 -0300
commitf3cd385a9c95e1ea90e886448ab1e83ee2fc7e51 (patch)
tree2d6d467d3aa5028de38aa82663a6acc9a4adb3b5 /drivers/media/video/v4l2-compat-ioctl32.c
parent5a11b6fe5d5ff146d951bc237c0e3f0330711baa (diff)
V4L/DVB: V4L: Events: Replace bad WARN_ON() with assert_spin_locked()
spin_is_locked() always returns zero when spinlock debugging is disabled on a single CPU machine. Replace WARN_ON() with assert_spin_locked(). Thanks to Laurent Pinchart for spotting this! Signed-off-by: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/v4l2-compat-ioctl32.c')
0 files changed, 0 insertions, 0 deletions