Parcourir la source

Staging: poch: Increase groups per interrupt

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>
Vijay Kumar B il y a 16 ans
Parent
commit
7e72a85e07
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      drivers/staging/poch/poch.c

+ 1 - 1
drivers/staging/poch/poch.c

@@ -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.