diff options
Diffstat (limited to 'drivers/block/mtip32xx/mtip32xx.c')
-rw-r--r-- | drivers/block/mtip32xx/mtip32xx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.c b/drivers/block/mtip32xx/mtip32xx.c index cd271d5e1b73..29735316730a 100644 --- a/drivers/block/mtip32xx/mtip32xx.c +++ b/drivers/block/mtip32xx/mtip32xx.c | |||
@@ -970,6 +970,8 @@ static inline void mtip_process_sdbf(struct driver_data *dd) | |||
970 | /* walk all bits in all slot groups */ | 970 | /* walk all bits in all slot groups */ |
971 | for (group = 0; group < dd->slot_groups; group++) { | 971 | for (group = 0; group < dd->slot_groups; group++) { |
972 | completed = readl(port->completed[group]); | 972 | completed = readl(port->completed[group]); |
973 | if (!completed) | ||
974 | continue; | ||
973 | 975 | ||
974 | /* clear completed status register in the hardware.*/ | 976 | /* clear completed status register in the hardware.*/ |
975 | writel(completed, port->completed[group]); | 977 | writel(completed, port->completed[group]); |