Skip to content

Commit

Permalink
Staging: poch: Increase groups per interrupt
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vijay Kumar B authored and Greg Kroah-Hartman committed Dec 11, 2009
1 parent b01faf0 commit 7e72a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/poch/poch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7e72a85

Please sign in to comment.