mmc: mmci: add validate_data callback
authorLudovic Barre <ludovic.barre@st.com>
Mon, 8 Oct 2018 12:08:41 +0000 (14:08 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Oct 2018 07:13:04 +0000 (09:13 +0200)
commite0da1721211b9016be1a1d994d97eb53c3ca29fe
tree08563941b4bfc0e4c7a229c249acd198b7ddaf89
parentcfccc6ac005425c4fcb44a4c48a183652751812b
mmc: mmci: add validate_data callback

This patch adds validate_data callback at mmci_host_ops
to check specific constraints of variant.
Move mmci_validate_data function to regroup mmci_host_ops interfaces.

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