sdhci.c (7e95e365d5399647a41e10059e4b09826b82d78b) sdhci.c (29495aa04a30c21565243c5b9c028510446d242c)
1/*
2 * linux/drivers/mmc/host/sdhci.c - Secure Digital Host Controller Interface driver
3 *
4 * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or (at

--- 2313 unchanged lines hidden (view full) ---

2322/*****************************************************************************\
2323 * *
2324 * Suspend/resume *
2325 * *
2326\*****************************************************************************/
2327
2328#ifdef CONFIG_PM
2329
1/*
2 * linux/drivers/mmc/host/sdhci.c - Secure Digital Host Controller Interface driver
3 *
4 * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or (at

--- 2313 unchanged lines hidden (view full) ---

2322/*****************************************************************************\
2323 * *
2324 * Suspend/resume *
2325 * *
2326\*****************************************************************************/
2327
2328#ifdef CONFIG_PM
2329
2330int sdhci_suspend_host(struct sdhci_host *host, pm_message_t state)
2330int sdhci_suspend_host(struct sdhci_host *host)
2331{
2332 int ret;
2333
2334 sdhci_disable_card_detection(host);
2335
2336 /* Disable tuning since we are suspending */
2337 if (host->version >= SDHCI_SPEC_300 && host->tuning_count &&
2338 host->tuning_mode == SDHCI_TUNING_MODE_1) {

--- 732 unchanged lines hidden ---
2331{
2332 int ret;
2333
2334 sdhci_disable_card_detection(host);
2335
2336 /* Disable tuning since we are suspending */
2337 if (host->version >= SDHCI_SPEC_300 && host->tuning_count &&
2338 host->tuning_mode == SDHCI_TUNING_MODE_1) {

--- 732 unchanged lines hidden ---