[PATCH] Fix build with no CONFIG_MMC.

Andy Green andy at openmoko.com
Thu Oct 2 09:59:49 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| Andy Green <andy at openmoko.com> wrote:
|
|> Somebody in the thread at some point said:
|>
|>> I hit this when updating to 2.6.26.  Also if CONFIG_MMC is enabled
|>> this patch converts this horrible horrible hack into a horrible
|>> hack by using dev->resume() (untested).
|> Thanks for that, it is much neater.  Sent it on to stable.
|
| I find that this patch causes resume not to work, reproducibly, on my
| GTA02.  That is to say:  I was trying to build a kernel from the tip of
| the 'stable' branch and ran into  problems (unresponsive black screen
| when trying to resume via the power button). I did a 'git bisect' and
| isolated it to this commit, and reverting this commit (only) caused the
| problem to go away for me.
|
| Is it possible that "dev->resume()" is not properly initialised somehow?
| As far as I can see, this patch isn't meant to be anything more than a
| tidy-up.  I'd love to have a go at tracking this down myself, but my
| weekend reading on Linux Kernel Development is still in the post from
| Amazon...

Thanks for the effort isolating it, Mike too, I will look at it thismorning.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkjkf28ACgkQOjLpvpq7dMoOggCfRFsTus0qcj4BXQLl2F++0ZNc
QcYAnj/B+z2bwCKFQuQdhIJofbqqfKFk
=N5ut
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list