nvadsp: Restrict ICC API to T23x

Restrict call to icc_get API to T23x family of chips.

Bug 4164138
Bug 3682950

Change-Id: Ie4140b38661dcfd050305c7cdbbbc8c14031bbe7
Signed-off-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2930170
(cherry picked from commit 92e6565e02b32159469ff7562f75fd36c28f7f9d)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2971981
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Viswanath L
2023-07-03 13:44:55 +00:00
committed by mobile promotions
parent e2b06959b7
commit 6815f07e8f

View File

@@ -143,7 +143,7 @@ static void nvadsp_bw_register(struct nvadsp_drv_data *drv_data)
drv_data->bwmgr = NULL; drv_data->bwmgr = NULL;
} }
break; break;
default: case TEGRA234:
if (!is_tegra_hypervisor_mode()) { if (!is_tegra_hypervisor_mode()) {
/* Interconnect Support */ /* Interconnect Support */
#ifdef CONFIG_ARCH_TEGRA_23x_SOC #ifdef CONFIG_ARCH_TEGRA_23x_SOC
@@ -158,6 +158,9 @@ static void nvadsp_bw_register(struct nvadsp_drv_data *drv_data)
} }
} }
break; break;
default:
/* None */
break;
} }
} }