Merge branch 'next/devel' of git://git.linaro.org/people/arnd/arm-soc
* 'next/devel' of git://git.linaro.org/people/arnd/arm-soc: (50 commits) ARM: tegra: update defconfig arm/tegra: Harmony: Configure PMC for low-level interrupts arm/tegra: device tree support for ventana board arm/tegra: add support for ventana pinmuxing arm/tegra: prepare Seaboard pinmux code for derived boards arm/tegra: pinmux: ioremap registers gpio/tegra: Convert to a platform device arm/tegra: Convert pinmux driver to a platform device arm/dt: Tegra: Add pinmux node to tegra20.dtsi arm/tegra: Prep boards for gpio/pinmux conversion to pdevs ARM: mx5: fix clock usage for suspend ARM i.MX entry-macro.S: remove now unused code ARM i.MX boards: use CONFIG_MULTI_IRQ_HANDLER ARM i.MX tzic: add handle_irq function ARM i.MX avic: add handle_irq function ARM: mx25: Add the missing IIM base definition ARM i.MX avic: convert to use generic irq chip mx31moboard: Add poweroff support ARM: mach-qong: Add watchdog support ARM: davinci: AM18x: Add wl1271/wlan support ... Fix up conflicts in: arch/arm/mach-at91/at91sam9g45.c arch/arm/mach-mx5/devices-imx53.h arch/arm/plat-mxc/include/mach/memory.h
This commit is contained in:
@ -807,12 +807,25 @@ static void calculate_clk_divider(struct mmc_host *mmc, struct mmc_ios *ios)
|
||||
static void mmc_davinci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
|
||||
{
|
||||
struct mmc_davinci_host *host = mmc_priv(mmc);
|
||||
struct platform_device *pdev = to_platform_device(mmc->parent);
|
||||
struct davinci_mmc_config *config = pdev->dev.platform_data;
|
||||
|
||||
dev_dbg(mmc_dev(host->mmc),
|
||||
"clock %dHz busmode %d powermode %d Vdd %04x\n",
|
||||
ios->clock, ios->bus_mode, ios->power_mode,
|
||||
ios->vdd);
|
||||
|
||||
switch (ios->power_mode) {
|
||||
case MMC_POWER_OFF:
|
||||
if (config && config->set_power)
|
||||
config->set_power(pdev->id, false);
|
||||
break;
|
||||
case MMC_POWER_UP:
|
||||
if (config && config->set_power)
|
||||
config->set_power(pdev->id, true);
|
||||
break;
|
||||
}
|
||||
|
||||
switch (ios->bus_width) {
|
||||
case MMC_BUS_WIDTH_8:
|
||||
dev_dbg(mmc_dev(host->mmc), "Enabling 8 bit mode\n");
|
||||
|
Reference in New Issue
Block a user