Re: [PATCH v3 07/16] mtd: rawnand: qcom: wait for desc completion in all BAM channels

2018-05-26 Thread Miquel Raynal
Hi Abhishek, On Fri, 25 May 2018 17:51:35 +0530, Abhishek Sahu wrote: > The BAM has 3 channels - tx, rx and command. command channel > is used for register read/writes, tx channel for data writes > and rx channel for data reads. Currently, the driver assumes the > transfer completion once it get

[PATCH v3 07/16] mtd: rawnand: qcom: wait for desc completion in all BAM channels

2018-05-25 Thread Abhishek Sahu
The BAM has 3 channels - tx, rx and command. command channel is used for register read/writes, tx channel for data writes and rx channel for data reads. Currently, the driver assumes the transfer completion once it gets all the command descriptors completed. Sometimes, there is race condition betwe