[PATCH 3/3] [OMAPZOOM] OMAP3ISP: Don't drop clocks before MMU unmapping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Sakari Ailus <sakari.ailus@xxxxxxxxx>
Date: Wed, 22 Oct 2008 18:11:42 +0300
Subject: [PATCH] OMAP3ISP: Don't drop clocks before MMU unmapping

Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxx>
Signed-off-by: Sergio Aguirre <saaguirre@xxxxxx>
---
 drivers/media/video/isp/isp.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: omapkernel/drivers/media/video/isp/isp.c
===================================================================
--- omapkernel.orig/drivers/media/video/isp/isp.c
+++ omapkernel/drivers/media/video/isp/isp.c
@@ -2355,6 +2355,9 @@ int isp_put(void)
                if (--isp_obj.ref_count == 0) {
                        isp_save_ctx();
                        off_mode = 1;
+#if ISP_WORKAROUND
+                       isp_buf_free();
+#endif
                        isp_release_resources();
                        ispmodule_obj.isp_pipeline = 0;
                        clk_disable(isp_obj.cam_ick);
@@ -2365,9 +2368,6 @@ int isp_put(void)
                        clk_put(isp_obj.csi2_fck);
                        memset(&ispcroprect, 0, sizeof(ispcroprect));
                        memset(&cur_rect, 0, sizeof(cur_rect));
-#if ISP_WORKAROUND
-                       isp_buf_free();
-#endif
                }
        mutex_unlock(&(isp_obj.isp_mutex));
        DPRINTK_ISPCTRL("isp_put: new %d\n", isp_obj.ref_count);

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux