Jaehoon Chung e1631f989e 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>
2012-04-20 21:52:05 -04:00
..
2012-02-03 13:33:05 +01:00
2011-12-07 22:02:05 +00:00
2008-12-16 14:58:17 +01:00
2012-03-28 20:59:45 -07:00
2009-03-24 21:30:03 +01:00
2012-03-30 17:31:56 -07:00
2012-01-02 13:04:55 +01:00
2012-02-05 17:14:47 +01:00
2009-10-01 16:11:15 -07:00
2012-03-28 20:59:45 -07:00
2007-07-26 01:53:31 +02:00