aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134/saa7134-core.c
diff options
context:
space:
mode:
authorMaxim Levitsky <maximlevitsky@gmail.com>2007-10-22 23:58:59 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:02:46 -0500
commitf36224d3992a7734349cdd6289ff73c3d007ce09 (patch)
treedf4735db1be35a5abc3150407fa721785c9c231d /drivers/media/video/saa7134/saa7134-core.c
parent5c01203fd289214ae3062dab4039fcbab4b2b84f (diff)
V4L/DVB (6670): V4L: saa7134: tvaudio cleanups
move some tv-audio initialization code out of tvaudio thread, and call it on resume too. Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-core.c')
-rw-r--r--drivers/media/video/saa7134/saa7134-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-core.c b/drivers/media/video/saa7134/saa7134-core.c
index f5e43d375d2..cbddd35f161 100644
--- a/drivers/media/video/saa7134/saa7134-core.c
+++ b/drivers/media/video/saa7134/saa7134-core.c
@@ -1235,6 +1235,7 @@ static int saa7134_resume(struct pci_dev *pci_dev)
1235 saa7134_set_tvnorm_hw(dev); 1235 saa7134_set_tvnorm_hw(dev);
1236 saa7134_tvaudio_setmute(dev); 1236 saa7134_tvaudio_setmute(dev);
1237 saa7134_tvaudio_setvolume(dev, dev->ctl_volume); 1237 saa7134_tvaudio_setvolume(dev, dev->ctl_volume);
1238 saa7134_tvaudio_init(dev);
1238 saa7134_tvaudio_do_scan(dev); 1239 saa7134_tvaudio_do_scan(dev);
1239 saa7134_enable_i2s(dev); 1240 saa7134_enable_i2s(dev);
1240 saa7134_hw_enable2(dev); 1241 saa7134_hw_enable2(dev);