]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5915af6f970d7860690e65fe3558555739160ea1
tree4078f479dc9584f18257fb29778f9d920e7f4bba
parentb0499978b1519ea1125aa7035d67b1ddcaea29df
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