mmc: slot-gpio: Add debouncing capability to mmc_gpio_request_cd()
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 8 Aug 2013 10:38:31 +0000 (12:38 +0200)
committerChris Ball <cjb@laptop.org>
Sun, 25 Aug 2013 03:45:09 +0000 (23:45 -0400)
Add a debounce parameter to the mmc_gpio_request_cd() function that
enables GPIO debouncing when set to a non-zero value. This can be used
by MMC host drivers to enable debouncing on the card detect signal.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Chris Ball <cjb@laptop.org>

No differences found