Re: [PATCH] mmc: During unsafe resume, select the right volatge forthe card

From: Pierre Ossman
Date: Sun Mar 08 2009 - 09:41:43 EST


On Wed, 25 Feb 2009 15:28:09 +0530
Balaji Rao <balajirrao@xxxxxxxxxxxx> wrote:

> On Wed, Feb 18, 2009 at 09:25:15PM +0100, Pierre Ossman wrote:
> > 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.
> >
>
> Hi Pierre,
>
> Here's a simpler patch. How does this look ?
>

Should work. Queued up.

Thanks
--
-- 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/