drm/omap: do not use BUG_ON(!spin_is_locked(x))
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 28 Nov 2014 12:34:16 +0000 (14:34 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 24 Mar 2015 11:50:58 +0000 (13:50 +0200)
commit8519c62ce610e512722d1d8e3991c02cca59010c
tree295ecfec4a5c6c6d3d95213650a8735d32eccd06
parentef4222838846fdecb6f1eae5671d9c462fd34852
drm/omap: do not use BUG_ON(!spin_is_locked(x))

spin_is_locked(x) returns always 0 on uniprocessor, triggering BUG() in
omapdrm.

Change it to use assert_spin_locked() to fix the issue.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_irq.c