int retry;
int ret;
- pm_runtime_get_sync(&adap->dev);
#ifdef CONFIG_ARCH_EXYNOS_PM
exynos_update_ip_idle_status(i2c->idle_ip_index, 0);
#endif
#ifdef CONFIG_ARCH_EXYNOS_PM
exynos_update_ip_idle_status(i2c->idle_ip_index, 1);
#endif
- pm_runtime_put(&adap->dev);
return ret;
}
#ifdef CONFIG_ARCH_EXYNOS_PM
exynos_update_ip_idle_status(i2c->idle_ip_index, 1);
#endif
- pm_runtime_put(&adap->dev);
return -EREMOTEIO;
}
return ret;
}
- pm_runtime_enable(&i2c->adap.dev);
#ifdef CONFIG_CPU_IDLE
list_add_tail(&i2c->node, &drvdata_list);
clk_unprepare(i2c->clk);
- pm_runtime_disable(&i2c->adap.dev);
pm_runtime_disable(&pdev->dev);
i2c_del_adapter(&i2c->adap);