Skip to content

Commit

Permalink
fix the vop spam patch
Browse files Browse the repository at this point in the history
  • Loading branch information
SolidHal committed Jun 25, 2019
1 parent fedca1d commit 39dcd2c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ index 48c222d..f8f9ae6 100644
struct vop *vop = to_vop(crtc);
unsigned long flags;

- if (!vop->is_enabled)
+ if (WARN_ON(!vop->is_enabled))
+ if (!vop->is_enabled)
- if (WARN_ON(!vop->is_enabled))
return -EPERM;

spin_lock_irqsave(&vop->irq_lock, flags);

0 comments on commit 39dcd2c

Please sign in to comment.