Pan Bian dbf5f6424e mtd: nand: sh_flctl: use dma_mapping_error to check map errors
The return value of dma_map_single() should be checked by
dma_mapping_error(). However, in function flctl_dma_fifo0_transfer(), its
return value is checked against NULL, which could result in failures.

Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
2017-08-23 16:49:22 +02:00
..
2017-07-03 20:27:48 -07:00
2017-07-07 17:57:59 -07:00
2017-04-20 12:09:55 -06:00
2014-03-10 22:42:25 -07:00
2016-04-18 11:23:24 +02:00
2016-07-09 18:48:54 -07:00