Skip to content

Commit

Permalink
[media] dvb: earth-pt1: decrease the too large DMA buffer size
Browse files Browse the repository at this point in the history
Current default value of "nr_tables" option corresponds to the DMA
buffer of about 10 to 48 seconds long, which is obviously too much.

Signed-off-by: Akihiro Tsukada <tskd2@yahoo.co.jp>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Akihiro Tsukada authored and Mauro Carvalho Chehab committed Mar 19, 2012
1 parent 6988111 commit 7ff0476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb/pt1/pt1.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ static u32 pt1_read_reg(struct pt1 *pt1, int reg)
return readl(pt1->regs + reg * 4);
}

static int pt1_nr_tables = 64;
static int pt1_nr_tables = 8;
module_param_named(nr_tables, pt1_nr_tables, int, 0);

static void pt1_increment_table_count(struct pt1 *pt1)
Expand Down

0 comments on commit 7ff0476

Please sign in to comment.