Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-03-27 | mmc: simplify mmc_cd_gpio_request() by removing two parameters | Guennadi Liakhovetski | |
Calculate the IRQ number, using gpio_to_irq() and use fixed flags: trigger on both edges. This makes two out of four arguments of the mmc_cd_gpio_request() function redundant. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Chris Ball <cjb@laptop.org> | |||
2012-01-11 | mmc: add a generic GPIO card-detect helper | 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 <g.liakhovetski@gmx.de> Signed-off-by: Chris Ball <cjb@laptop.org> |