aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/clock.c')
-rw-r--r--arch/arm/mach-tegra/clock.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/clock.c b/arch/arm/mach-tegra/clock.c
index f1f9c6d36bd2..165aa9c748f6 100644
--- a/arch/arm/mach-tegra/clock.c
+++ b/arch/arm/mach-tegra/clock.c
@@ -390,6 +390,20 @@ void __init tegra_init_clock(void)
390 tegra2_init_clocks(); 390 tegra2_init_clocks();
391} 391}
392 392
393/*
394 * The SDMMC controllers have extra bits in the clock source register that
395 * adjust the delay between the clock and data to compenstate for delays
396 * on the PCB.
397 */
398void tegra_sdmmc_tap_delay(struct clk *c, int delay)
399{
400 unsigned long flags;
401
402 spin_lock_irqsave(&c->spinlock, flags);
403 tegra2_sdmmc_tap_delay(c, delay);
404 spin_unlock_irqrestore(&c->spinlock, flags);
405}
406
393#ifdef CONFIG_DEBUG_FS 407#ifdef CONFIG_DEBUG_FS
394 408
395static int __clk_lock_all_spinlocks(void) 409static int __clk_lock_all_spinlocks(void)