staging: most: hdm-dim2: remove clearance of pending MLB interrupt
authorAndrey Shvetsov <andrey.shvetsov@k2l.de>
Thu, 15 Sep 2016 14:19:11 +0000 (16:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2016 17:23:29 +0000 (19:23 +0200)
This patch removes unnecessary clearing of a pending mlb_int from the
service routine for ahb interrupt.

Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-dim2/dim2_hal.c

index 1382b78c5e1b3d45637629e65a0c6cb1e9078a94..695f3169004e35c3ab7e8c9c593b8acc86d1902c 100644 (file)
@@ -858,10 +858,6 @@ void dim_service_ahb_int_irq(struct dim_channel *const *channels)
                        ++ch;
                }
        } while (state_changed);
-
-       /* clear pending Interrupts */
-       dimcb_io_write(&g.dim2->MS0, 0);
-       dimcb_io_write(&g.dim2->MS1, 0);
 }
 
 u8 dim_service_channel(struct dim_channel *ch)