aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/tuners/xc5000.c
diff options
context:
space:
mode:
authorGravatar Mauro Carvalho Chehab <m.chehab@samsung.com> 2014-08-09 21:47:23 -0300
committerGravatar Mauro Carvalho Chehab <m.chehab@samsung.com> 2014-08-21 15:25:10 -0500
commit7ab1c07614b984778a808dc22f84b682fedefea1 (patch)
tree740b9bc9bdfeb6e585509391387bd71914cf75cc /drivers/media/tuners/xc5000.c
parent[media] xc5000: Split config and set code for analog/radio (diff)
downloadlinux-7ab1c07614b984778a808dc22f84b682fedefea1.tar.gz
linux-7ab1c07614b984778a808dc22f84b682fedefea1.tar.bz2
linux-7ab1c07614b984778a808dc22f84b682fedefea1.zip
[media] xc5000: add a resume function
If a device suspends/hibertates with a station tuned, restore the tuner station at resume. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/tuners/xc5000.c')
-rw-r--r--drivers/media/tuners/xc5000.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/tuners/xc5000.c b/drivers/media/tuners/xc5000.c
index 78695ed4549c..140c537bcfcc 100644
--- a/drivers/media/tuners/xc5000.c
+++ b/drivers/media/tuners/xc5000.c
@@ -1354,6 +1354,7 @@ static const struct dvb_tuner_ops xc5000_tuner_ops = {
.init = xc5000_init,
.sleep = xc5000_sleep,
.suspend = xc5000_suspend,
+ .resume = xc5000_apply_params,
.set_config = xc5000_set_config,
.set_params = xc5000_set_params,