projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6988111
)
[media] dvb: earth-pt1: decrease the too large DMA buffer size
author
Akihiro Tsukada
<tskd2@yahoo.co.jp>
Sat, 10 Mar 2012 14:38:15 +0000
(11:38 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 19 Mar 2012 18:47:38 +0000
(15:47 -0300)
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>
drivers/media/dvb/pt1/pt1.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/dvb/pt1/pt1.c
b/drivers/media/dvb/pt1/pt1.c
index 8229a9150c5eb22b579ce73c4cff20eab5c7aee9..9cd161c409efb2e272b21b76ec5c52182cf57aae 100644
(file)
--- 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)