|
@@ -58,6 +58,7 @@ static inline void dma_free_attrs(struct device *dev, size_t size,
|
|
static inline int dma_mapping_error(struct device *dev, dma_addr_t daddr)
|
|
static inline int dma_mapping_error(struct device *dev, dma_addr_t daddr)
|
|
{
|
|
{
|
|
struct dma_map_ops *ops = platform_dma_get_ops(dev);
|
|
struct dma_map_ops *ops = platform_dma_get_ops(dev);
|
|
|
|
+ debug_dma_mapping_error(dev, daddr);
|
|
return ops->mapping_error(dev, daddr);
|
|
return ops->mapping_error(dev, daddr);
|
|
}
|
|
}
|
|
|
|
|