fix the vop spam patch
This commit is contained in:
parent
fedca1d5bb
commit
39dcd2c4da
@ -6,8 +6,8 @@ index 48c222d..f8f9ae6 100644
|
|||||||
struct vop *vop = to_vop(crtc);
|
struct vop *vop = to_vop(crtc);
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
|
||||||
- if (!vop->is_enabled)
|
+ if (!vop->is_enabled)
|
||||||
+ if (WARN_ON(!vop->is_enabled))
|
- if (WARN_ON(!vop->is_enabled))
|
||||||
return -EPERM;
|
return -EPERM;
|
||||||
|
|
||||||
spin_lock_irqsave(&vop->irq_lock, flags);
|
spin_lock_irqsave(&vop->irq_lock, flags);
|
||||||
|
Loading…
Reference in New Issue
Block a user