[PATCH 2/3] mtd: rawnand: qcom: Clear buf_count and buf_start in raw read

Miquel Raynal miquel.raynal at bootlin.com
Fri Aug 18 13:02:36 PDT 2023


On Fri, 2023-08-18 at 14:51:00 UTC, Md Sadre Alam wrote:
> Initialize buf_count and buf_start to 0 before starting the
> raw read. If we will not initialize then read staus will get
> updated with wrong value and we will see failure for even
> successful raw read transaction.
> 
> Signed-off-by: Sricharan Ramabadhran <quic_srichara at quicinc.com>
> Signed-off-by: Md Sadre Alam <quic_mdalam at quicinc.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel



More information about the linux-mtd mailing list