From: Andrey Shvetsov Date: Thu, 15 Sep 2016 14:19:11 +0000 (+0200) Subject: staging: most: hdm-dim2: remove clearance of pending MLB interrupt X-Git-Tag: v4.9-rc1~119^2~603 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3512ede28e6e65684504e1e83c5de1731da6ac36;p=karo-tx-linux.git staging: most: hdm-dim2: remove clearance of pending MLB interrupt This patch removes unnecessary clearing of a pending mlb_int from the service routine for ahb interrupt. Signed-off-by: Andrey Shvetsov Signed-off-by: Christian Gromm Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/most/hdm-dim2/dim2_hal.c b/drivers/staging/most/hdm-dim2/dim2_hal.c index 1382b78c5e1b..695f3169004e 100644 --- a/drivers/staging/most/hdm-dim2/dim2_hal.c +++ b/drivers/staging/most/hdm-dim2/dim2_hal.c @@ -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)