]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/dma/ioat_dma.c
Merge branch 'linus' into test
[linux-2.6-omap-h63xx.git] / drivers / dma / ioat_dma.c
index 1ef68b3156570487094e704eaceb9ffdb03db4e6..43b8cefad2c6ddfb57276e53a6ce19710677ea5a 100644 (file)
@@ -171,6 +171,9 @@ static int ioat_dma_enumerate_channels(struct ioatdma_device *device)
        xfercap_scale = readb(device->reg_base + IOAT_XFERCAP_OFFSET);
        xfercap = (xfercap_scale == 0 ? -1 : (1UL << xfercap_scale));
 
+#if CONFIG_I7300_IDLE_IOAT_CHANNEL
+       device->common.chancnt--;
+#endif
        for (i = 0; i < device->common.chancnt; i++) {
                ioat_chan = kzalloc(sizeof(*ioat_chan), GFP_KERNEL);
                if (!ioat_chan) {