summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAkihiro Tsukada <tskd2@yahoo.co.jp>2012-03-10 11:38:15 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-03-19 15:47:38 -0300
commit7ff04760f737ac9eb2a5f8fc12a762a608c37692 (patch)
tree5f674cfdafa4e6002af3de7f063e63734321e4ea /drivers
parent6988111098d643653eca04ebc6dabe9a7f354baa (diff)
[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: Akihiro Tsukada <tskd2@yahoo.co.jp> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/pt1/pt1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/pt1/pt1.c b/drivers/media/dvb/pt1/pt1.c
index 8229a9150c5..9cd161c409e 100644
--- a/drivers/media/dvb/pt1/pt1.c
+++ b/drivers/media/dvb/pt1/pt1.c
@@ -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)