mmc: mmci: add get_datactrl_cfg callback and helper functions
authorLudovic Barre <ludovic.barre@st.com>
Wed, 27 Mar 2019 09:05:28 +0000 (10:05 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 15 Apr 2019 09:55:54 +0000 (11:55 +0200)
commit0732ea75de09f0816f0604e46116ca111bc309d6
tree12bdc52c45f6b98969102f84a80434650faf6658
parente5a34b0c1071e6b6b6cfca4c6887c39cd403dd77
mmc: mmci: add get_datactrl_cfg callback and helper functions

This patch adds get_datactrl_cfg callback in mmci_host_ops
to allow to get datactrl configuration specific at variant.
Common helper function is defined and could be call by variant.

Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mmci.h