summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/otg/tegra-otg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/otg/tegra-otg.c b/drivers/usb/otg/tegra-otg.c
index cdb4cfbfb4f7..4e40d14f57cf 100644
--- a/drivers/usb/otg/tegra-otg.c
+++ b/drivers/usb/otg/tegra-otg.c
@@ -176,8 +176,7 @@ static void irq_work(struct work_struct *work)
}
}
clk_disable(tegra->clk);
- if (from != to)
- tegra_otg_disable_clk();
+ tegra_otg_disable_clk();
}
static irqreturn_t tegra_otg_irq(int irq, void *data)