On Thu, Jul 14, 2011 at 8:25 AM, Guennadi Liakhovetski <g.liakhovetski@xxxxxx> wrote: > When we switch to transaction-based runtime PM on SDHI / TMIO MMC, > also card eject events will have to be detected by the platform. > This patch prepares mackerel to this switch. > > Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@xxxxxx> > --- > arch/arm/mach-shmobile/board-mackerel.c | 68 +++++++++++++++++++++++++++---- > 1 files changed, 60 insertions(+), 8 deletions(-) Thanks for your work on this. What is the reason why we can't use GPIO for all cases of insert/eject event detection? Switching between GPIO and function mode for the pin seems overly complex IMO - that unless there is a real win behind it. Please explain. Thank you! / magnus -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html