V4L/DVB: ivtv: Add delay to ensure the decoder always restarts with a blank screen

Add a short delay when stopping the decoder, allowing it to settle and
preventing some unexpected interaction with other firmware commands.

Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk>
Tested-by: Martin Dauskardt <martin.dauskardt@gmx.de>
Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by Ian Armstrong and committed by Mauro Carvalho Chehab f06b9bd4 bd1fc7c5

+3
+3
drivers/media/video/ivtv/ivtv-streams.c
··· 912 clear_bit(IVTV_F_S_STREAMING, &s->s_flags); 913 ivtv_flush_queues(s); 914 915 /* decrement decoding */ 916 atomic_dec(&itv->decoding); 917
··· 912 clear_bit(IVTV_F_S_STREAMING, &s->s_flags); 913 ivtv_flush_queues(s); 914 915 + /* decoder needs time to settle */ 916 + ivtv_msleep_timeout(40, 0); 917 + 918 /* decrement decoding */ 919 atomic_dec(&itv->decoding); 920