DVB : frontend: enable no_poweroff to avoid firmware reloaded in xc5000 tuner
authorLiu Peiwen <peiwen.liu@samsung.com>
Mon, 19 May 2014 03:40:35 +0000 (11:40 +0800)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:47:54 +0000 (11:47 +0900)
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>
drivers/media/tuners/xc5000.c

index b2d9e9c..27843b3 100644 (file)
@@ -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"