mtd: nand: sh_flctl: handle dma_submit() errors
authorBrian Norris <computersforpeace@gmail.com>
Thu, 5 May 2016 19:42:44 +0000 (12:42 -0700)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Sun, 14 Aug 2016 09:20:32 +0000 (11:20 +0200)
commit870620bc24993e9a2beef52c39824ab31829e99f
treef7ce13daf8814ba909186d6732f4be941b514f2d
parent5403926934f3f5c1cafea811550232672d343ab3
mtd: nand: sh_flctl: handle dma_submit() errors

Some build tools noticed that 'cookie' is being set but not used. Might
as well catch the errors here and handle them the same way we handle
other DMA prep steps.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/sh_flctl.c
This page took 0.024836 seconds and 5 git commands to generate.