On 12 January 2015 at 20:23, NeilBrown <neilb@xxxxxxx> wrote: > This is another resend with mmc_gpio_set_cd_isr() now returning > void and being EXPORTed. > > I included > WARN_ON(ctx->cd_gpio_isr); > to guard against misuse. > > My goal is to get omap_hsmmc to use the common code for parsing of, > particularly so that I can set "cap-power-off-card", which omap_hsmmc > doesn't explicitly report. > > Thanks, > NeilBrown > > P.S. Sorry for delay - I've been travelling. > > --- > > NeilBrown (3): > mmc: core: Allow host driver to provide isr for card-detect interrupts. > mmc: omap_hsmmc: use slot-gpio library for gpio support. > mmc: omap_hsmmc: use mmc_of_parse to parse common mmc configuration. > > > drivers/mmc/core/slot-gpio.c | 18 +++++++ > drivers/mmc/host/omap_hsmmc.c | 100 +++++++++-------------------------------- > include/linux/mmc/slot-gpio.h | 2 + > 3 files changed, 40 insertions(+), 80 deletions(-) > Thanks! Applied for next. Kind regards Uffe -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html