mmc: sdhci: Enable high speed conditional on the corresponding bit
authorFaiz Abbas <faiz_abbas@ti.com>
Thu, 23 Jul 2020 04:12:19 +0000 (09:42 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 20 Aug 2020 07:58:59 +0000 (09:58 +0200)
commit620bb46eaddd8f8ee361b47e56d57fd50a29b005
treeca82ec9fb176d871799261c9404f20b0988b3672
parent2570cc6430cf191b2b0f71b9dcfed46c94a645dc
mmc: sdhci: Enable high speed conditional on the corresponding bit

The capabilities register has a field to indicate whether the host
supports high speed mode or not. Add high speed host_caps based on
this bit instead of enabling it by default.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Reviewed-by: Michal Simek <michal.simek@xilnx.com>
Tested-by: Michal Simek <michal.simek@xilnx.com>
(zcu104 with sdhci-caps-mask = <0 0x200000>;)
drivers/mmc/sdhci.c