summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-08-09 17:29:01 -0300
committerChanho Park <chanho61.park@samsung.com>2014-11-18 12:00:28 +0900
commit8c781c79e7930c4489b9ba4e973357ea52a2c074 (patch)
treee2f10f3fbcdfaff3adee483b3cdc5f8d1c8daeeb
parent4bf2ccc6223363416902dde5f256b84f8eb15194 (diff)
downloadlinux-3.10-8c781c79e7930c4489b9ba4e973357ea52a2c074.tar.gz
linux-3.10-8c781c79e7930c4489b9ba4e973357ea52a2c074.tar.bz2
linux-3.10-8c781c79e7930c4489b9ba4e973357ea52a2c074.zip
[media] xc5000: add a resume function
If a device suspends/hibertates with a station tuned, restore the tuner station at resume. Change-Id: I60c4265f50dc365d019cba9dfaa3bd1a046c6adc Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
-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 3514c43bfff..f95503124ab 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,