[media] marvell-cam: ensure that the camera stops when requested
authorJonathan Corbet <corbet@lwn.net>
Fri, 16 Mar 2012 22:14:50 +0000 (19:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 20 Mar 2012 01:15:12 +0000 (22:15 -0300)
The controller stop/restart logic could possibly restart DMA after the
driver things things have stopped, with suitably ugly results.  Make sure
that we only restart the hardware if we're supposed to be streaming.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found