aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorShuah Khan <shuah.kh@samsung.com>2014-03-20 22:05:50 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-04-07 08:40:24 -0400
commitc9af5c154233446e8b97a1febef80e8afc568ab1 (patch)
tree2e01391bbc96ed75f7c8a97c5115b32ce725000e /drivers/media
parentaa81d5e2d32a0bc9bfa3ede61a23281689834039 (diff)
[media] lgdt3305: include sleep functionality in lgdt3304_ops
Add sleep ops to lgdt3304_ops to invoke lgdt3305_sleep() to be called from dvb_frontend_suspend(). lgdt3305_soft_reset() is called for both 3304 and 3305 devices. soft_reset and sleep touch LGDT3305_GEN_CTRL_3 on 3304 and 3305 devices. Hence, adding sleep to lgdt3304_ops will help suspend 3304 properly from dvb_frontend_suspend(). Signed-off-by: Shuah Khan <shuah.kh@samsung.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb-frontends/lgdt3305.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/lgdt3305.c b/drivers/media/dvb-frontends/lgdt3305.c
index 1d2c47378cf8..92c891a571ab 100644
--- a/drivers/media/dvb-frontends/lgdt3305.c
+++ b/drivers/media/dvb-frontends/lgdt3305.c
@@ -1176,6 +1176,7 @@ static struct dvb_frontend_ops lgdt3304_ops = {
1176 }, 1176 },
1177 .i2c_gate_ctrl = lgdt3305_i2c_gate_ctrl, 1177 .i2c_gate_ctrl = lgdt3305_i2c_gate_ctrl,
1178 .init = lgdt3305_init, 1178 .init = lgdt3305_init,
1179 .sleep = lgdt3305_sleep,
1179 .set_frontend = lgdt3304_set_parameters, 1180 .set_frontend = lgdt3304_set_parameters,
1180 .get_frontend = lgdt3305_get_frontend, 1181 .get_frontend = lgdt3305_get_frontend,
1181 .get_tune_settings = lgdt3305_get_tune_settings, 1182 .get_tune_settings = lgdt3305_get_tune_settings,