From 58f09dbbaf10244c341a3e6a3c724c7b9eb12e22 Mon Sep 17 00:00:00 2001 From: Johnny Liu Date: Wed, 13 Nov 2024 22:24:33 +0000 Subject: [PATCH] drivers: video: Remove legacy code regarding bwmgr CONFIG_TEGRA_BWMGR is a downstream solution in the kernel before K5.15, and the implementation now is completed moved to BPMP side. Since it is not supported anymore, remove the legacy code for maintainability. Bug 4955427 Change-Id: If639871f286ba84177e31a351757e25ce621905b Signed-off-by: Johnny Liu Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3248364 Reviewed-by: Jon Hunter GVS: buildbot_gerritrpt Reviewed-by: svcacv --- drivers/video/tegra/camera/tegra_camera_platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/tegra/camera/tegra_camera_platform.c b/drivers/video/tegra/camera/tegra_camera_platform.c index 01484f45..0d4e60d4 100644 --- a/drivers/video/tegra/camera/tegra_camera_platform.c +++ b/drivers/video/tegra/camera/tegra_camera_platform.c @@ -230,12 +230,12 @@ int tegra_camera_update_isobw(void) dev_dbg(info->dev, "%s:Set iso bw %lu kbyteps at %lu KHz\n", __func__, bw, total_khz); -#if !defined(CONFIG_TEGRA_BWMGR) + ret = clk_set_rate(info->iso_emc, total_khz * 1000); if (ret) dev_err(info->dev, "%s:Failed to set iso bw\n", __func__); -#endif + /* * Request to ISOMGR or ICC depending on chip version. */