diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2012-04-18 15:42:31 +0900 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-04-20 21:52:05 -0400 |
commit | e1631f989e0c6c8d9b43a2dbdd1097f70da603a5 (patch) | |
tree | 4b258ea786edda6cc9903319459143cc10d50775 /Documentation/cdrom | |
parent | b89152824f993a9572b47eb31f4579feadeac34c (diff) | |
download | linux-e1631f989e0c6c8d9b43a2dbdd1097f70da603a5.tar.gz linux-e1631f989e0c6c8d9b43a2dbdd1097f70da603a5.tar.bz2 linux-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 <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'Documentation/cdrom')
0 files changed, 0 insertions, 0 deletions