From mboxrd@z Thu Jan 1 00:00:00 1970 From: rnayak@ti.com (Rajendra Nayak) Date: Thu, 16 Feb 2012 18:04:25 +0530 Subject: [PATCH 0/3] omap hsmmc init cleanup and section warning fixes for v3.4 merge window In-Reply-To: <20120216121234.GJ15338@n2100.arm.linux.org.uk> References: <20120215182355.18884.18682.stgit@kaulin.local> <20120216121234.GJ15338@n2100.arm.linux.org.uk> Message-ID: <4F3CF7D1.8050807@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thursday 16 February 2012 05:42 PM, Russell King - ARM Linux wrote: > On Thu, Feb 16, 2012 at 05:30:59PM +0530, Nayak, Rajendra wrote: >>> One more patch is needed to sort out the remaining issue with >>> omap4 that has yet another luck based initialization for the >>> same issue.. >>> >> >> I did this patch on top of your series which should fix the >> issue on all omap4 boards too. Tested on omap4panda and >> omap4sdp boards. > > 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. > 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. # 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 > 4. Remove the gpio-twl4030 module > 5. Re-load the gpio-twl4030.ko module > > and report back what you get. Thanks.