commit | f3cd385a9c95e1ea90e886448ab1e83ee2fc7e51 | [log] [tgz] |
---|---|---|
author | Sakari Ailus <sakari.ailus@maxwell.research.nokia.com> | Mon May 03 12:42:46 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Wed May 19 12:58:23 2010 -0300 |
tree | 2d6d467d3aa5028de38aa82663a6acc9a4adb3b5 | |
parent | 5a11b6fe5d5ff146d951bc237c0e3f0330711baa [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>