summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiu Peiwen <peiwen.liu@samsung.com>2014-05-19 11:40:35 +0800
committerSylwester Nawrocki <s.nawrocki@samsung.com>2014-05-29 08:56:06 -0700
commit37c64ad37f08f788396148b4a6e31adfd94dec5a (patch)
tree32a013a567887761e0e536a9879bccb8089a698a
parent958a220368a96d781ab53b4ac589008100cdca0e (diff)
downloadlinux-3.10-37c64ad37f08f788396148b4a6e31adfd94dec5a.tar.gz
linux-3.10-37c64ad37f08f788396148b4a6e31adfd94dec5a.tar.bz2
linux-3.10-37c64ad37f08f788396148b4a6e31adfd94dec5a.zip
DVB : frontend: enable no_poweroff to avoid firmware reloaded in xc5000 tuner
If open and close frontend cyclicly, firmware will be loaded repeatly without no_poweroff setting, and TV service can not tolorate the waste of time of loading firmware. Change-Id: I8a2276424a283a9d52e512e61a055c5375e6c15c Signed-off-by: Liu Peiwen <peiwen.liu@samsung.com>
-rw-r--r--drivers/media/tuners/xc5000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/tuners/xc5000.c b/drivers/media/tuners/xc5000.c
index 5cd09a681b6..602d0971c76 100644
--- a/drivers/media/tuners/xc5000.c
+++ b/drivers/media/tuners/xc5000.c
@@ -37,7 +37,7 @@ static int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(debug, "Turn on/off debugging (default:off).");
-static int no_poweroff;
+static int no_poweroff = 1;
module_param(no_poweroff, int, 0644);
MODULE_PARM_DESC(no_poweroff, "0 (default) powers device off when not used.\n"
"\t\t1 keep device energized and with tuner ready all the times.\n"