Skip to content

omap hsmmc init cleanup and section warning fixes for v3.4 merge window

Rajendra Nayak linux-arm-kernel linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 3 patches 0 repliesNew

1 of 3 patches is in this archive. The cover letter announces 3.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/3ARM: OMAP2+: Split omap2_hsmmc_init() to properly support I2C GPIO pins+0 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] omap hsmmc init cleanup and section warning fixes for v3.4 merge window
Quoted 9 lines · Rajendra Nayak
Quoted 4 lines

Can you test something with these patches?

1. Build the gpio-twl4030.c as a module, but with HSMMC support built in
2. Boot on the 4430SDP

twl4030 gpio is used for card detect on OMAP3, so I tried this on my Beagle instead of 4430SDP.
The kernel boots up but does not detect/enumerate the mmc card.

Quoted 5 lines
Quoted 1 line

3. Load the gpio-twl4030 module

I was expecting this to now detect the card, but I instead got this error which seems to tell gpio-twl4030 has problems when built/used as a module, outside of the mmc issues.

Looks like I was mislead with the errors and though the twl4030 gpio probe was bailing out with errors, which its not. It does seem to go ahead, does a mmc late init which registers the mmc omap_device and hence does a platform_device_add, but the device never seem to get probed. mmc driver is built in and registered.

Quoted 10 lines
# insmod gpio-twl4030.ko
[   16.217864] twl4030_gpio twl4030_gpio: can't dispatch IRQs from modules
[   16.242004] gpiochip_add: registered GPIOs 192 to 211 on device: twl4030
Quoted 4 lines

4. Remove the gpio-twl4030 module
5. Re-load the gpio-twl4030.ko module

and report back what you get. Thanks.