mtd: nand: qcom: QPIC data descriptors handling
authorAbhishek Sahu <absahu@codeaurora.org>
Thu, 17 Aug 2017 12:07:46 +0000 (17:37 +0530)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 23 Aug 2017 14:49:28 +0000 (16:49 +0200)
commit4e2f6c52f4840b0d2ad1a62b71bf139cb0ec0915
tree4078f479dc9584f18257fb29778f9d920e7f4bba
parent9d43f91569526b60775174115c98768cb48fc828
mtd: nand: qcom: QPIC data descriptors handling

1. Add the data descriptor preparation function which will be used
   only by BAM DMA for forming the data SGL’s
2. Add clear BAM transaction and call it before every new request
3. Check DMA mode for ADM or BAM and call the appropriate
   descriptor formation function.

Reviewed-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/qcom_nandc.c