video: rockchip: iep: Adjust iep_power_off

Change-Id: Ia617c48db885578f5f46e91ccae603226b2372a1
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
This commit is contained in:
Yandong Lin
2025-08-11 15:07:33 +08:00
committed by Tao Huang
parent aaa9e42f27
commit 88eb04a12b

View File

@@ -1141,6 +1141,8 @@ static int iep_drv_remove(struct platform_device *pdev)
{
struct iep_drvdata *data = platform_get_drvdata(pdev);
iep_power_off();
iep_iommu_info_destroy(iep_service.iommu_info);
iep_service.iommu_info = NULL;
@@ -1204,7 +1206,6 @@ static void __exit iep_exit(void)
{
IEP_ERR("%s IN\n", __func__);
iep_power_off();
platform_driver_unregister(&iep_driver);
}