Commit 7ff04760 authored by Akihiro Tsukada's avatar Akihiro Tsukada Committed by Mauro Carvalho Chehab

[media] dvb: earth-pt1: decrease the too large DMA buffer size

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: default avatarAkihiro Tsukada <tskd2@yahoo.co.jp>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 69881110
...@@ -123,7 +123,7 @@ static u32 pt1_read_reg(struct pt1 *pt1, int reg) ...@@ -123,7 +123,7 @@ static u32 pt1_read_reg(struct pt1 *pt1, int reg)
return readl(pt1->regs + reg * 4); 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); module_param_named(nr_tables, pt1_nr_tables, int, 0);
static void pt1_increment_table_count(struct pt1 *pt1) static void pt1_increment_table_count(struct pt1 *pt1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment