Staging: poch: Increase groups per interrupt
authorVijay Kumar B <vijaykumar@bravegnu.org>
Mon, 21 Sep 2009 05:53:56 +0000 (11:23 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 20:23:09 +0000 (12:23 -0800)
Increase groups per interrupt to reduce hogging of the CPU.

Signed-off-by: Vijay Kumar B. <vijaykumar@bravegnu.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/poch/poch.c

index 6b4aa5f1d51da4a1cd51349fecab4ef5bba574e5..1637c281ea3c88c592df5a007af1f2d2b6e23405 100644 (file)
@@ -483,7 +483,7 @@ static void channel_dma_init(struct channel_info *channel)
                  fpga + block_count_reg);
        iowrite32(channel->group_count, fpga + group_count_reg);
        /* FIXME: Hardcoded groups per int. Get it from sysfs? */
-       iowrite32(1, fpga + groups_per_int_reg);
+       iowrite32(16, fpga + groups_per_int_reg);
 
        /* Unlock PCI address? Not defined in the data sheet, but used
         * in the reference code by Redrapids.