mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user