[media] si2157: change command for sleep
authorOlli Salonen <olli.salonen@iki.fi>
Mon, 25 Aug 2014 18:07:02 +0000 (15:07 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 21 Sep 2014 19:42:38 +0000 (16:42 -0300)
commit0e38233d329e463a64146080c008d8044651bd3f
tree91c5779bad6980c4757d484b25413ece0b40c256
parentd4d2050006bfb0c4af41288143424d3b0b9b325e
[media] si2157: change command for sleep

Instead of sending command 13 to the tuner, send command 16 when sleeping. This
behaviour is observed when using manufacturer provided binary-only Linux driver
for TechnoTrend CT2-4400 (Windows driver does not do power management).

The issue with command 13 is that firmware loading is necessary after that.
This is not an issue with tuners that do not require firmware, but starting
streaming after sleep on an Si2158 takes noticeable time as firmware is
loaded on resume.

Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/tuners/si2157.c