diff options
author | Maxim Levitsky <maximlevitsky@gmail.com> | 2007-10-08 11:07:35 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 23:03:20 -0400 |
commit | acd827d63a568a2cfa26ae8e6093b098c91c631b (patch) | |
tree | a6c8372103850552e30f5f3314a9300d4d4c81f5 /drivers/media/video/saa7134/saa7134-tvaudio.c | |
parent | 49ee718ef51f4d938f80f67207e1bfa2a38897a4 (diff) |
V4L/DVB (6306): Few clenups for saa7134 resume code
*Disable DMA explictly on suspend
*Enable DMA on resume, after all buffers were configured
*Disable overlay on resume - apps should enable it when X is resumed
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-tvaudio.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-tvaudio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/saa7134/saa7134-tvaudio.c b/drivers/media/video/saa7134/saa7134-tvaudio.c index df2dab06387d..1b9e39a5ea47 100644 --- a/drivers/media/video/saa7134/saa7134-tvaudio.c +++ b/drivers/media/video/saa7134/saa7134-tvaudio.c | |||
@@ -231,7 +231,7 @@ static void mute_input_7134(struct saa7134_dev *dev) | |||
231 | } | 231 | } |
232 | 232 | ||
233 | if (dev->hw_mute == mute && | 233 | if (dev->hw_mute == mute && |
234 | dev->hw_input == in && !dev->force_mute_update) { | 234 | dev->hw_input == in && !dev->inresume) { |
235 | dprintk("mute/input: nothing to do [mute=%d,input=%s]\n", | 235 | dprintk("mute/input: nothing to do [mute=%d,input=%s]\n", |
236 | mute,in->name); | 236 | mute,in->name); |
237 | return; | 237 | return; |