[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1395353150-6133-1-git-send-email-shuah.kh@samsung.com>
Date: Thu, 20 Mar 2014 16:05:50 -0600
From: Shuah Khan <shuah.kh@...sung.com>
To: mkrufky@...uxtv.org, m.chehab@...sung.com
Cc: Shuah Khan <shuah.kh@...sung.com>, linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org, shuah.kh@...usung.com,
shuahkhan@...il.com
Subject: [PATCH] media: lgdt3305 - add lgdt3304_ops: sleep
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@...sung.com>
---
drivers/media/dvb-frontends/lgdt3305.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/dvb-frontends/lgdt3305.c b/drivers/media/dvb-frontends/lgdt3305.c
index 1d2c473..92c891a 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 = {
},
.i2c_gate_ctrl = lgdt3305_i2c_gate_ctrl,
.init = lgdt3305_init,
+ .sleep = lgdt3305_sleep,
.set_frontend = lgdt3304_set_parameters,
.get_frontend = lgdt3305_get_frontend,
.get_tune_settings = lgdt3305_get_tune_settings,
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists