Please test if if this patch makes any difference. Mikko --- drivers/ata/ahci_tegra.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/ata/ahci_tegra.c b/drivers/ata/ahci_tegra.c index 0329044..227a148 100644 --- a/drivers/ata/ahci_tegra.c +++ b/drivers/ata/ahci_tegra.c @@ -118,15 +118,15 @@ static int tegra_ahci_power_on(struct ahci_host_priv *hpriv) if (ret) return ret; + reset_control_assert(tegra->sata_oob_rst); + reset_control_assert(tegra->sata_cold_rst); + ret = tegra_powergate_sequence_power_up(TEGRA_POWERGATE_SATA, tegra->sata_clk, tegra->sata_rst); if (ret) goto disable_regulators; - reset_control_assert(tegra->sata_oob_rst); - reset_control_assert(tegra->sata_cold_rst); - ret = ahci_platform_enable_resources(hpriv); if (ret) goto disable_power; -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html