[PATCH 2/2 v2] mmc: add a generic GPIO card-detect helper

2012-01-04 Thread Guennadi Liakhovetski
This patch adds a primitive helper to support card hotplug detection on platforms, where a GPIO, capable of producing interrupts, is used for detection of card-insertion and -removal events. Signed-off-by: Guennadi Liakhovetski --- v2: allow NULL hotplug handler context in mmc_cd_gpio_free() di

Re: [PATCH 2/2 v2] mmc: add a generic GPIO card-detect helper

2011-12-25 Thread Chris Ball
Hi, On Sun, Dec 25 2011, Guennadi Liakhovetski wrote: > This patch adds a primitive helper to support card hotplug detection on > platforms, where a GPIO, capable of producing interrupts, is used for > detection of card-insertion and -removal events. > > Signed-off-by: Guennadi Liakhovetski > ---

[PATCH 2/2 v2] mmc: add a generic GPIO card-detect helper

2011-12-25 Thread Guennadi Liakhovetski
This patch adds a primitive helper to support card hotplug detection on platforms, where a GPIO, capable of producing interrupts, is used for detection of card-insertion and -removal events. Signed-off-by: Guennadi Liakhovetski --- v2: switch to use snprintf() Hi Chris On Sat, 24 Dec 2011, Chr