summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/device_main.c
diff options
context:
space:
mode:
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>2022-05-22 21:49:05 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-06 07:58:40 +0200
commita79922905a08559775468ba0a81659501cabcfea (patch)
tree3df868211d662f9d6adffc040d8be755004a30b3 /drivers/staging/vt6655/device_main.c
parent159ed04755489cf9d43ee361899f736418c4c340 (diff)
downloadlinux-stable-a79922905a08559775468ba0a81659501cabcfea.tar.gz
linux-stable-a79922905a08559775468ba0a81659501cabcfea.tar.bz2
linux-stable-a79922905a08559775468ba0a81659501cabcfea.zip
staging: vt6655: Replace MACvIntDisable with VNSvOutPortD
Replace macro MACvIntDisable with VNSvOutPortD and as it was only used twice, it can now be removed. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/937422bb879d8f1f58978bedc8d15559d28581c7.1653203927.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/device_main.c')
-rw-r--r--drivers/staging/vt6655/device_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c
index d9515eff05c3..29ee0fd893cc 100644
--- a/drivers/staging/vt6655/device_main.c
+++ b/drivers/staging/vt6655/device_main.c
@@ -1143,7 +1143,7 @@ static irqreturn_t vnt_interrupt(int irq, void *arg)
schedule_work(&priv->interrupt_work);
- MACvIntDisable(priv->port_offset);
+ VNSvOutPortD(priv->port_offset + MAC_REG_IMR, 0);
return IRQ_HANDLED;
}