Messages in this thread | | | Date | Fri, 23 May 2008 19:42:04 +0400 | From | Anton Vorontsov <> | Subject | Re: [PATCH 3/4] [MMC] mmc_spi: add polling support for the card detect line |
| |
On Thu, May 22, 2008 at 09:34:32PM +0200, Pierre Ossman wrote: [...] > > Ok. How about this version? > > > > Perfect. Unless there is some way you can pass flags in platform data? > Using the lack of an init() to determine the need for polling is a bit > circumstantial.
Aha, that's an idea, thanks. Implemented in the updated patches.
p.s. I think, in case of capabilities, it's users' responsibility to not issue bogus flags, so mmc_spi doesn't mask anything, it just passes platform's caps. This also avoids drivers update when (if) new caps will be implemented.
-- Anton Vorontsov email: cbouatmailru@gmail.com irc://irc.freenode.net/bd2
| |