[PATCH] mmc: mxs-mmc: implement broken-cd
From: Chris Ball <hidden>
Date: 2012-09-17 14:01:00
Also in:
linux-mmc
From: Chris Ball <hidden>
Date: 2012-09-17 14:01:00
Also in:
linux-mmc
Hi, On Mon, Sep 17 2012, Lauri Hintsala wrote:
Is it OK to use broken-cd? broken-cd feature is documented as "There is no card detection available; polling must be used". In this case the card detect is not broken but it is unrouted so it is unavailable. Documentation about broken-cd has been added by commit: https://git.kernel.org/?p=linux/kernel/git/cjb/mmc.git;a=commitdiff;h=abe1e05da365350ac282ba5f6831aae13d97074e
I'm having trouble following the problem; it sounds like perhaps all you
need is:
if (of_find_property(np, "non-removable", NULL))
mmc->caps |= MMC_CAP_NONREMOVABLE;
Have you tried that?
- Chris.
--
Chris Ball [off-list ref] <http://printf.net/>
One Laptop Per Child