diff options
Diffstat (limited to 'drivers/media/video/saa7110.c')
-rw-r--r-- | drivers/media/video/saa7110.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/saa7110.c b/drivers/media/video/saa7110.c index 676b9970eb2e..061134a7ba9f 100644 --- a/drivers/media/video/saa7110.c +++ b/drivers/media/video/saa7110.c | |||
@@ -208,7 +208,7 @@ determine_norm (struct i2c_client *client) | |||
208 | saa7110_write_block(client, initseq, sizeof(initseq)); | 208 | saa7110_write_block(client, initseq, sizeof(initseq)); |
209 | saa7110_selmux(client, decoder->input); | 209 | saa7110_selmux(client, decoder->input); |
210 | prepare_to_wait(&decoder->wq, &wait, TASK_UNINTERRUPTIBLE); | 210 | prepare_to_wait(&decoder->wq, &wait, TASK_UNINTERRUPTIBLE); |
211 | schedule_timeout(HZ/4); | 211 | schedule_timeout(msecs_to_jiffies(250)); |
212 | finish_wait(&decoder->wq, &wait); | 212 | finish_wait(&decoder->wq, &wait); |
213 | status = saa7110_read(client); | 213 | status = saa7110_read(client); |
214 | if (status & 0x40) { | 214 | if (status & 0x40) { |
@@ -249,7 +249,7 @@ determine_norm (struct i2c_client *client) | |||
249 | //saa7110_write(client,0x2E,0x9A); | 249 | //saa7110_write(client,0x2E,0x9A); |
250 | 250 | ||
251 | prepare_to_wait(&decoder->wq, &wait, TASK_UNINTERRUPTIBLE); | 251 | prepare_to_wait(&decoder->wq, &wait, TASK_UNINTERRUPTIBLE); |
252 | schedule_timeout(HZ/4); | 252 | schedule_timeout(msecs_to_jiffies(250)); |
253 | finish_wait(&decoder->wq, &wait); | 253 | finish_wait(&decoder->wq, &wait); |
254 | 254 | ||
255 | status = saa7110_read(client); | 255 | status = saa7110_read(client); |