OSDN Git Service

media: am437x-vpfe: fix start streaming error path
authorBenoit Parrot <bparrot@ti.com>
Fri, 20 Sep 2019 17:05:46 +0000 (14:05 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 1 Oct 2019 19:10:38 +0000 (16:10 -0300)
commit158a1dddf2dbce5fdb3053213c1e9b36a54b4d4d
tree14f46243bacd8598eb387862d0f97c39f435de71
parentb58e69e9a573e74946498077ae25e5244303e718
media: am437x-vpfe: fix start streaming error path

When start_streaming fails the h/w module might be left enabled
inadvertently. Make sure it is disabled in the error path.

Signed-off-by: Benoit Parrot <bparrot@ti.com>
Acked-by: Lad Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/am437x/am437x-vpfe.c