public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] omap_hsmmc: Add missing probe handler hook
@ 2009-10-08 22:54 Tony Lindgren
  0 siblings, 0 replies; only message in thread
From: Tony Lindgren @ 2009-10-08 22:54 UTC (permalink / raw)
  To: Andrew Morton
  Cc: linux-mmc, linux-omap, Madhusudhan Chikkature, Felipe Contreras,
	Adrian Hunter, Roger Quadros, Uwe Kleine-König, Denis Karpov

[-- Attachment #1: Type: text/plain, Size: 393 bytes --]

Andrew,

Here's a fix from Roger Quadros that was accidentally not posted
to linux-mmc as pointed out by Felipe Contreras on LKML.

Can you please pick it up?

For reference, this is the issue Uwe Kleine-König mentioned at:
http://www.mail-archive.com/linux-mmc@vger.kernel.org/msg00528.html

Felipe Contreras summarized how things broke at:
http://lkml.org/lkml/2009/10/8/334

Regards,

Tony

[-- Attachment #2: v2-omap_hsmmc-Add-missing-probe-handler-hook.patch --]
[-- Type: text/x-diff, Size: 1202 bytes --]

Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [v2] omap_hsmmc: Add missing probe handler hook
Date: Fri, 02 Oct 2009 12:22:40 -0000
From: Roger Quadros <ext-roger.quadros@nokia.com>
X-Patchwork-Id: 51344

The missing probe handler hook will never probe the driver. Add it back.
Fixes broken MMC on OMAP.

We use platform_driver_probe() API since omap_hsmmc is not a hot-pluggable
device.

Signed-off-by: Roger Quadros <ext-roger.quadros@nokia.com>
Tested-by: Felipe Contreras <felipe.contreras@gmail.com>
Tested-by: Tony Lindgren <tony@atomide.com>

---
drivers/mmc/host/omap_hsmmc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index 4487cc0..0aecaae 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -2013,7 +2013,7 @@ static struct platform_driver omap_hsmmc_driver = {
 static int __init omap_hsmmc_init(void)
 {
 	/* Register the MMC driver */
-	return platform_driver_register(&omap_hsmmc_driver);
+	return platform_driver_probe(&omap_hsmmc_driver, omap_hsmmc_probe);
 }
 
 static void __exit omap_hsmmc_cleanup(void)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-08 22:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-08 22:54 [PATCH] omap_hsmmc: Add missing probe handler hook Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox