Change-Id: Ia9b029738945c14f2fa6e6077cd20d4e191c2537
Signed-off-by: Colin Cross <ccross@android.com>
tegra_init_suspend(&stingray_suspend);
stingray_init_emc();
+ /* Set the SDMMC2 (wifi) tap delay to 6. This value is determined
+ * based on propagation delay on the PCB traces. */
+ clk = clk_get_sys("sdhci-tegra.1", NULL);
+ if (!IS_ERR(clk)) {
+ tegra_sdmmc_tap_delay(clk, 6);
+ clk_put(clk);
+ } else {
+ pr_err("Failed to set wifi sdmmc tap delay\n");
+ }
+
/* Stingray has a USB switch that disconnects the usb port from the T20
unless a factory cable is used, the factory jumper is set, or the
usb_data_en gpio is set.