Re: [PATCH 3/4] mmc: mtk-sd: enable internal card-detect logic.

2019-05-05 Thread Chaotian Jing
On Sat, 2019-05-04 at 20:24 +1000, NeilBrown wrote: > The mtk-sd silicon has integrated card-detect logic that is > enabled on the MT7621. The circuit is phased out on newer hardware so > we should be careful to only enabled it on hardware known to support > it. This a new "use_internal_cd" flag

[PATCH 3/4] mmc: mtk-sd: enable internal card-detect logic.

2019-05-04 Thread NeilBrown
The mtk-sd silicon has integrated card-detect logic that is enabled on the MT7621. The circuit is phased out on newer hardware so we should be careful to only enabled it on hardware known to support it. This a new "use_internal_cd" flag in struct mtk_mmc_compatible. If the sdhci isn't marked non