commit | 49df19ebcc60fd46f2587774cd6e224007af1116 | [log] [tgz] |
---|---|---|
author | Jonathan Corbet <corbet@lwn.net> | Fri Mar 16 19:14:50 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Mar 19 22:15:12 2012 -0300 |
tree | 22091196fc706c8d2e2d4d557f63ad5d41b9632c | |
parent | 7e4964fa167709befde3ba3a7044080d7ca391d0 [diff] |
[media] marvell-cam: ensure that the camera stops when requested 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>