[COMMON] fimc-is2: replace bcm APIs for new bcm driver
authorJeongtae Park <jtp.park@samsung.com>
Tue, 10 Apr 2018 04:19:25 +0000 (13:19 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:04 +0000 (20:23 +0300)
Change-Id: Ie16bef5aeca5c6aa3ec9c620583773d4458414b9
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
drivers/media/platform/exynos/fimc-is2/fimc-is-device-csi_v4.c
drivers/media/platform/exynos/fimc-is2/interface/fimc-is-interface-ddk.c

index a697023b776868c7a4239adcc253b5d2b5d04c08..369af988f9438aecf395e132c6b20c48e6a2581f 100644 (file)
@@ -20,7 +20,7 @@
 #include <linux/videodev2_exynos_camera.h>
 #include <linux/io.h>
 #include <linux/phy/phy.h>
-#include <soc/samsung/bcm.h>
+#include <soc/samsung/exynos-bcm_dbg.h>
 #include <linux/fs.h>
 
 #include "fimc-is-debug.h"
@@ -723,7 +723,7 @@ static void csi_err_print(struct fimc_is_device_csi *csi)
                                fimc_is_debug_event_count(FIMC_IS_EVENT_OVERFLOW_CSI);
                                err_str = GET_STR(CSIS_ERR_DMA_ERR_DMAFIFO_FULL);
 #if defined(OVERFLOW_PANIC_ENABLE_CSIS)
-                               bcm_stop(NULL);
+                               exynos_bcm_dbg_stop(CAMERA_DRIVER);
 
                                panic("[DMA%d][VC P%d, L%d] CSIS error!! %s",
                                        csi->dma_subdev[vc]->dma_ch[csi->scm],
index f4bffd084f20f5f5125659ad001cc5f1496e8a6e..5c84d576189c1c40e1036fd7801918960618b490 100644 (file)
@@ -12,7 +12,7 @@
 #include "fimc-is-hw-control.h"
 #include "sfr/fimc-is-sfr-isp-v310.h"
 #include "fimc-is-err.h"
-#include <soc/samsung/bcm.h>
+#include <soc/samsung/exynos-bcm_dbg.h>
 
 int debug_irq_ddk;
 module_param(debug_irq_ddk, int, 0644);
@@ -341,7 +341,7 @@ static void fimc_is_lib_io_callback(void *this, enum lib_cb_event_type event_id,
                break;
        case LIB_EVENT_ERROR_CIN_OVERFLOW:
                fimc_is_debug_event_count(FIMC_IS_EVENT_OVERFLOW_3AA);
-               bcm_stop(NULL);
+               exynos_bcm_dbg_stop(CAMERA_DRIVER);
                msinfo_hw("LIB_EVENT_ERROR_CIN_OVERFLOW\n", instance_id, hw_ip);
                fimc_is_hardware_flush_frame(hw_ip, FS_HW_CONFIGURE, IS_SHOT_OVERFLOW);