Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mmc: simplify mmc_cd_gpio_request() by removing two parameters | Guennadi Liakhovetski | 2012-03-27 | 1 | -2/+1 |
| | | | | | | | | | 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> | ||||
* | mmc: add a generic GPIO card-detect helper | Guennadi Liakhovetski | 2012-01-11 | 1 | -0/+19 |
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> |