upstream: [media] lgdt3305: include sleep functionality in lgdt3304_ops
authorShuah Khan <shuah.kh@samsung.com>
Fri, 21 Mar 2014 02:05:50 +0000 (23:05 -0300)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:26:23 +0000 (14:26 +0900)
commit5870a1b4d671fe9e92381d7583d0209d5a00f859
tree2820d6021461a8294e7b2d8c668eab0822a30344
parentf7caf133f7a5987659ba4f3492df3a0403539935
upstream: [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>
drivers/media/dvb-frontends/lgdt3305.c