ioat3: cleanup, don't enable DCA completion writes
authorDan Williams <dan.j.williams@intel.com>
Wed, 3 Mar 2010 18:47:42 +0000 (11:47 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 3 Mar 2010 18:47:42 +0000 (11:47 -0700)
We already disallow raid operations while DCA is globally enabled, so
having it locally enabled is a nop and confusing when reading the code.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ioat/dma_v3.c

index 9908c9e94b2d0c9ba150eeefb507e48cb6cc0a5b..f270fa11275bbd52f467e4ba1871633c1b3fb5f4 100644 (file)
@@ -334,8 +334,7 @@ static void ioat3_cleanup_tasklet(unsigned long data)
        struct ioat2_dma_chan *ioat = (void *) data;
 
        ioat3_cleanup(ioat);
-       writew(IOAT_CHANCTRL_RUN | IOAT3_CHANCTRL_COMPL_DCA_EN,
-              ioat->base.reg_base + IOAT_CHANCTRL_OFFSET);
+       writew(IOAT_CHANCTRL_RUN, ioat->base.reg_base + IOAT_CHANCTRL_OFFSET);
 }
 
 static void ioat3_restart_channel(struct ioat2_dma_chan *ioat)