mmc: dw_mmc: add quirks for unreliable card detect, and capabilities
authorJaehoon Chung <jh80.chung@samsung.com>
Fri, 25 Feb 2011 02:08:15 +0000 (11:08 +0900)
committerChris Ball <cjb@laptop.org>
Thu, 17 Mar 2011 19:35:18 +0000 (15:35 -0400)
commitfc3d7720541d4b70cbae25ac121d7e6343125090
treef1ca22f9e6363c2ddfc84dfdc6e4992299e4f93a
parent860cfe796c793bfad1e666de9600852f2d653c57
mmc: dw_mmc: add quirks for unreliable card detect, and capabilities

This patch adds quirks and capabilities to platdata.

Some cards don't use the CDn pin; in that case, we assume the card's
inserted. Some boards need other capabilities. So, we add capabilities
in the board's platdata.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc.c
include/linux/mmc/dw_mmc.h