Hi guys,

On 04/28/2015 06:39 PM, Fabio Estevam wrote:
Hi Gary and Nikolay,

On Tue, Apr 28, 2015 at 11:01 AM, Fabio Estevam <[email protected]> wrote:
On Tue, Apr 28, 2015 at 10:57 AM, Gary Thomas <[email protected]> wrote:

How is this going to be handled?  Will you apply your patch
upstream and update the meta-fsl-arm recipe, or just add the
patch there?

I still need to test it on warpboard. Will do it later later today as
I don't have access to it here at the moment. After I confirm it also
works there, then we can ask Otavio to apply it in linux-fslc.

Please discard my previous workaround patch.

Otavio found a commit from 4.1-rc1 that makes this problem go away:

commit 04e079cf6b24c794bbc52b04b370f84cb728540e
Author: Scott Branden <[email protected]>
Date:   Tue Mar 10 11:35:10 2015 -0700

     mmc: sdhci: fix card presence logic in sdhci_request function

     The sdhci_request function should consider a non-removable device
     always present.
     Call the correct logic already available in sdhci_do_get_cd function.

     This fixes some logic paths where MMC requests are being made to
     non-removable devices that do not have the card detect pin connected
     on the hardware as it is non-removable.

     Signed-off-by: Scott Branden <[email protected]>
     Signed-off-by: Ulf Hansson <[email protected]>

Will also ask in the linux-mmc if this should be applied to stable.

Applying it on top of 4.0 linux-fslc makes the SD card detection
problem go away.

Thanks Otavio!

Regards,

Fabio Estevam

Sorry for the delay, it looks I somehow got several of Fabio's mails
with delay.

The patch works OK, tested on riotboard, on both USDHC2 & USDHC3
interfaces. Thanks a lot for your help, and also thanks to Gary for
reporting the issue.

Have a nice day,
Nikolay
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to