aboutsummaryrefslogtreecommitdiff
path: root/init/version.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2021-09-21 14:00:29 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2021-10-12 10:21:19 +0200
commitc66e21fdc42dcc1c5c559fc4682f3a7f8b4c93f1 (patch)
tree05ca8036cc13ead77e8783ca9d40b6aaffca3e8c /init/version.c
parent3781d28805eca89796fd50af8e05569c210fc87d (diff)
mmc: sdhci-omap: Check MMCHS_HL_HWINFO register for ADMA
ADMA is only available on controller instances that are connected to the L3 interconnect and are bus mastering capable. As the MMCHS_HL_HWINFO is in the module registers before omap registers and sdhci registers, and the omap registers and sdhci registers can be at different offsets depending on the SoC, let's read MMCHS_HL_HWINFO directly. Let's also switch to using device_property_present() while at it. Signed-off-by: Tony Lindgren <tony@atomide.com> Link: https://lore.kernel.org/r/20210921110029.21944-6-tony@atomide.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'init/version.c')
0 files changed, 0 insertions, 0 deletions