mtd: rawnand: qcom: Convert nandc to chip in Read/Write helper
authorMd Sadre Alam <mdalam@codeaurora.org>
Tue, 23 Feb 2021 19:38:57 +0000 (01:08 +0530)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 11 Mar 2021 08:37:29 +0000 (09:37 +0100)
commit9a7c39e23d7059ba6ef231d941dd820643bd5ce2
tree4f53040cff980b947ba6d58c1d7823a08ac252b6
parente7a97528e3c787802d8c643d6ab2f428511bb047
mtd: rawnand: qcom: Convert nandc to chip in Read/Write helper

This change will convert nandc to chip in Read/Write helper, this
change is needed because if we wnated to access number of steps
in Read/Write helper then we need to get the chip->ecc.steps,
currentlly its not possible.After this change we can directly
acces chip->ecc.steps in Read/Write helper.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/1614109141-7531-1-git-send-email-mdalam@codeaurora.org
drivers/mtd/nand/raw/qcom_nandc.c