As very general comments, you should have the maintainer of the subsystemI have cc'ed both Pierre and Alex, but my first message was blocked
(Pierre in this case) on Cc when posting a driver, and you should include
the patch inline in your mail, see Documentation/SubmittingPatches.
You should include the Makefile and Kconfig changes in the same patch/mail,Once again it was an advise from http://www.tux.org/lkml/#s1-10. <http://www.tux.org/lkml/#s1-10>
no point splitting these out.
Don't define your own DBG macro, instead use the predefined dev_dbg()Somewhere in 0.5-0.6 version this driver has issues with timeouts , which were
that has a similar definition.
Your mmc_tifm_irq_chip() function does a _very_ long delay of 100This is done intentionally to prevent a race condition when a card is removed
miliseconds. This is normally not acceptable, since it is a noticeable
time in which the system is completely unresponsive. Maybe you can convert
the tasklet to a workqueue, which lets you call msleep instead of mdelay.
Your use of pci_map_sg() looks wrong, you simply can't assume that theThis is taken as is from [tifm_sd]. I suppose this relates to a hardware
return value is '1' in general. I've stumbled over that same problem
in the sdhci driver, so it may be inherent to the mmc layer and not
be driver specific.