projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3d6676
)
[media] xc5000: add a resume function
author
Mauro Carvalho Chehab
<
[email protected]
>
Sun, 10 Aug 2014 00:47:23 +0000
(21:47 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Thu, 21 Aug 2014 20:25:10 +0000
(15:25 -0500)
If a device suspends/hibertates with a station tuned, restore
the tuner station at resume.
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/tuners/xc5000.c
patch
|
blob
|
history
diff --git
a/drivers/media/tuners/xc5000.c
b/drivers/media/tuners/xc5000.c
index 78695ed4549c42fd1cb3939e78a5c87b0d116404..140c537bcfcc5688c0d5272cdaafb9fdab9e2534 100644
(file)
--- 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,