mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-10 18:53:38 +00:00
staging: vt6655: Remove vif check from vnt_interrupt
commit cc26358f89
upstream.
A check for vif is made in vnt_interrupt_work.
There is a small chance of leaving interrupt disabled while vif
is NULL and the work hasn't been scheduled.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
CC: stable@vger.kernel.org # v4.2+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
86092f2d5c
commit
b9ddff2a41
1 changed files with 1 additions and 2 deletions
|
@ -1146,8 +1146,7 @@ static irqreturn_t vnt_interrupt(int irq, void *arg)
|
||||||
{
|
{
|
||||||
struct vnt_private *priv = arg;
|
struct vnt_private *priv = arg;
|
||||||
|
|
||||||
if (priv->vif)
|
schedule_work(&priv->interrupt_work);
|
||||||
schedule_work(&priv->interrupt_work);
|
|
||||||
|
|
||||||
return IRQ_HANDLED;
|
return IRQ_HANDLED;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue