diff options
| author | Jaehoon Chung <[email protected]> | 2012-04-18 06:42:31 +0000 |
|---|---|---|
| committer | Chris Ball <[email protected]> | 2012-04-21 01:52:05 +0000 |
| commit | e1631f989e0c6c8d9b43a2dbdd1097f70da603a5 (patch) | |
| tree | 4b258ea786edda6cc9903319459143cc10d50775 /lib/mpi/mpiutil.c | |
| parent | mmc: unbreak sdhci-esdhc-imx on i.MX25 (diff) | |
| download | kernel-e1631f989e0c6c8d9b43a2dbdd1097f70da603a5.tar.gz kernel-e1631f989e0c6c8d9b43a2dbdd1097f70da603a5.zip | |
mmc: dw_mmc: prevent NULL dereference for dma_ops
Now, dma_ops is assumed that use the IDMAC. But if dma_ops is assigned
the pdata->dma_ops, we didn't ensure that callback function is defined.
If the callback isn't defined, then we should run in PIO mode.
Signed-off-by: Jaehoon Chung <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Acked-by: Will Newton <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
