mmc: mmci: add dma_start callback
This patch adds dma_start callback to mmci_host_ops. Create a generic mmci_dma_start function which regroup common action between variant. Signed-off-by: Ludovic Barre <ludovic.barre@st.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:

committed by
Ulf Hansson

orang tua
02769968d9
melakukan
135ea30e23
@@ -280,6 +280,7 @@ struct mmci_host_ops {
|
||||
void (*get_next_data)(struct mmci_host *host, struct mmc_data *data);
|
||||
int (*dma_setup)(struct mmci_host *host);
|
||||
void (*dma_release)(struct mmci_host *host);
|
||||
int (*dma_start)(struct mmci_host *host, unsigned int *datactrl);
|
||||
};
|
||||
|
||||
struct mmci_host {
|
||||
@@ -339,4 +340,5 @@ void mmci_dmae_unprep_data(struct mmci_host *host, struct mmc_data *data,
|
||||
void mmci_dmae_get_next_data(struct mmci_host *host, struct mmc_data *data);
|
||||
int mmci_dmae_setup(struct mmci_host *host);
|
||||
void mmci_dmae_release(struct mmci_host *host);
|
||||
int mmci_dmae_start(struct mmci_host *host, unsigned int *datactrl);
|
||||
|
||||
|
Reference in New Issue
Block a user