From: Akihiro Tsukada Date: Sat, 10 Mar 2012 14:38:15 +0000 (-0300) Subject: [media] dvb: earth-pt1: decrease the too large DMA buffer size X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7ff04760f737ac9eb2a5f8fc12a762a608c37692;p=linux-beck.git [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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/pt1/pt1.c b/drivers/media/dvb/pt1/pt1.c index 8229a9150c5e..9cd161c409ef 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)