提交 27a69d70 编写于 作者: S Silesh C V 提交者: Tony Lindgren

omap: 4430SDP: Register the card detect GPIO properly

Without this the HSMMC driver takes GPIO 0 to be the card detect gpio
and requests/configures it. This will give rise to issues when another
driver needs to use GPIO 0. On 4430SDP, the card detection is through
TWL 6030.
Signed-off-by: NSilesh C V <silesh@ti.com>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 c3146974
...@@ -323,6 +323,7 @@ static struct omap2_hsmmc_info mmc[] = { ...@@ -323,6 +323,7 @@ static struct omap2_hsmmc_info mmc[] = {
{ {
.mmc = 1, .mmc = 1,
.caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA, .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA,
.gpio_cd = -EINVAL,
.gpio_wp = -EINVAL, .gpio_wp = -EINVAL,
}, },
{} /* Terminator */ {} /* Terminator */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册