]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sh_mmcif: support generic card-detection
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 14 Jun 2012 12:24:35 +0000 (14:24 +0200)
committerChris Ball <cjb@laptop.org>
Sat, 21 Jul 2012 04:02:22 +0000 (00:02 -0400)
commit9b01041527855694ec6cedaea169dcfbf34578db
tree1f41c40d38f9d75371907474c5c6b44c3c6b5aab
parent33981c83964b663a4fe21dad02c9da1e7b8f1369
mmc: sh_mmcif: support generic card-detection

Extend the sh_mmcif driver to support GPIO card detection, provided by the
slot function module. The original .get_cd() platform callback is also
preserved for now.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mmcif.c
include/linux/mmc/sh_mmcif.h