Re: [PATCH] mmc: In mmc_power_up, use previously selected ocr ifavailable

From: Pierre Ossman
Date: Wed Feb 18 2009 - 15:25:28 EST


On Mon, 9 Feb 2009 18:58:08 +0530
Balaji Rao <balajirrao@xxxxxxxxxxxx> wrote:

> When mmc_power_up is called during unsafe resume, host->ocr should be
> used instead of host->ocr_avail.
>
> Signed-off-by: Balaji Rao <balajirrao@xxxxxxxxxxxx>
> Cc: Andy Green <andy@xxxxxxxxxxxx>
> Cc: Pierre Ossman <drzeus-mmc@xxxxxxxxx>
> ---

Hmm... This is a bit hackish and changes the previously known behaviour
of mmc_power_up(). We probably need to refactor things and have some
other explicit call from the resume path.

Rgds
--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org

WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/