media: video: vp_enabled state incorrect after a forced reset

After a forced reset occurred on VP, during a stream_off call,
vp_enabled state was incorrect causing one extra call to
disable_irq. This would result in VP isr to be called whenever
interrupt was triggered.

CRs-Fixed: 418792
Change-Id: Ia66b2d70506d4b06782bc5c25c83587c78f8e9c8
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
diff --git a/drivers/media/video/vcap_vp.c b/drivers/media/video/vcap_vp.c
index 82f9e58..5161b7b 100644
--- a/drivers/media/video/vcap_vp.c
+++ b/drivers/media/video/vcap_vp.c
@@ -396,6 +396,7 @@
 		if (rc == 0 && atomic_read(&dev->vp_enabled) == 1) {
 			/* This should not happen, if it does hw is stuck */
 			disable_irq_nosync(dev->vpirq->start);
+			atomic_set(&dev->vp_enabled, 0);
 			pr_err("%s: VP Timeout and VP still running\n",
 				__func__);
 		}