public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* 70a3341a71 broke omap_hsmmc?
@ 2009-10-08  9:24 Uwe Kleine-König
  2009-10-08 22:08 ` Madhusudhan Chikkature
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2009-10-08  9:24 UTC (permalink / raw)
  Cc: Adrian Hunter, Matt Fleming, Ian Molton, Roberto A. Foglietta,
	Jarkko Lavinen, Denis Karpov, Pierre Ossman, Philip Langdale,
	Madhusudhan, linux-mmc, Andrew Morton, Linus Torvalds

Hello,

commit 70a3341a711f27ae77714ae7dd360a4e7e2d5e7c changed registering of
omap_hsmmc_host from using platform_driver_probe to using
platform_driver_register.  But omap_hsmmc_driver doesn't have a probe
entry.  So I expect that the driver doesn't bind correctly.

The fix is either convert back to platform_driver_probe or (add
platform_driver_probe to omap_hsmmc_driver and move it to section
.devinit.text).

Best regards
Uwe

-- 
Pengutronix e.K.                              | Uwe Kleine-König            |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 70a3341a71 broke omap_hsmmc?
  2009-10-08  9:24 70a3341a71 broke omap_hsmmc? Uwe Kleine-König
@ 2009-10-08 22:08 ` Madhusudhan Chikkature
  0 siblings, 0 replies; 2+ messages in thread
From: Madhusudhan Chikkature @ 2009-10-08 22:08 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Denis Karpov, Adrian Hunter, Matt Fleming, Ian Molton,
	Roberto A. Foglietta, Jarkko Lavinen, Pierre Ossman,
	Philip Langdale, linux-mmc, Andrew Morton, Linus Torvalds

Hi,

A fix for this is pushed in Linux-omap.

Regards,
Madhu

commit fa7705edb1355a52cdca0adfcfe007923bfff7dc
Author: Roger Quadros <ext-roger.quadros@nokia.com>
Date:   Mon Oct 5 13:50:06 2009 -0700

    omap_hsmmc: Add missing probe handler hook to platform driver data

    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>
    Signed-off-by: Tony Lindgren <tony@atomide.com>

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)



> Hello,
>
> commit 70a3341a711f27ae77714ae7dd360a4e7e2d5e7c changed registering of
> omap_hsmmc_host from using platform_driver_probe to using
> platform_driver_register.  But omap_hsmmc_driver doesn't have a probe
> entry.  So I expect that the driver doesn't bind correctly.
>
> The fix is either convert back to platform_driver_probe or (add
> platform_driver_probe to omap_hsmmc_driver and move it to section
> .devinit.text).
>
> Best regards
> Uwe
>
> --
> Pengutronix e.K.                              | Uwe Kleine-König            |
> Industrial Linux Solutions                    | http://www.pengutronix.de/  |
>
>



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-08 22:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-08  9:24 70a3341a71 broke omap_hsmmc? Uwe Kleine-König
2009-10-08 22:08 ` Madhusudhan Chikkature

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