summaryrefslogtreecommitdiff
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorZach Brown <zach.brown@ni.com>2016-11-02 10:26:16 -0500
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-09-27 19:20:12 +0200
commitab3286f516fb6378b255b3d4c6fbfe33a2fd6219 (patch)
tree1d888819b57f77dcf6b2eb327df448f06e9c2356 /arch/arm/boot
parentd254c8e1de658c0e2739247bfc3c1f9eaf74cdf3 (diff)
mmc: sdhci: Use sdhci-caps-mask and sdhci-caps to change the caps read during __sdhci_read_caps
The sdhci capabilities register can be incorrect. The sdhci-caps-mask and sdhci-caps dt properties specify which bits of the register are incorrect and what their values should be. This patch makes the sdhci driver use those properties to correct the caps during __sdhci_read_caps. During __sdhci_read_caps Use the sdhci-caps-mask property to turn off the incorrect bits of the sdhci register after reading them. Use the sdhci-caps to turn on bits after using sdhci-caps-mask to turn off the incorrect ones. Signed-off-by: Zach Brown <zach.brown@ni.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> (cherry picked from commit 92e0c44b92e463a47746b520ea9aa9ef154f27e7)
Diffstat (limited to 'arch/arm/boot')
0 files changed, 0 insertions, 0 deletions