@@ -1129,6 +1129,12 @@ static int tegra_emc_probe(struct platform_device *pdev)
return err;
}
+static void tegra_emc_sync_state(struct device *dev)
+{
+ tegra_soc_device_sync_state(dev);
+ icc_sync_state(dev);
+}
+
static const struct of_device_id tegra_emc_of_match[] = {
{ .compatible = "nvidia,tegra20-emc", },
{},
@@ -1141,7 +1147,7 @@ static struct platform_driver tegra_emc_driver = {
.name = "tegra20-emc",
.of_match_table = tegra_emc_of_match,
.suppress_bind_attrs = true,
- .sync_state = icc_sync_state,
+ .sync_state = tegra_emc_sync_state,
},
};
module_platform_driver(tegra_emc_driver);