mtd: nand: qcom: remove memset for clearing read register buffer
authorAbhishek Sahu <absahu@codeaurora.org>
Wed, 19 Jul 2017 11:47:57 +0000 (17:17 +0530)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 23 Aug 2017 14:49:17 +0000 (16:49 +0200)
commiteb6df28ef63d0ac9d8bb86483d8840fa95da4a8b
tree27bb01eb66358447d8b963ddad2b6a9fd153fde6
parent77cc5364770387380dd5353625986576209de21c
mtd: nand: qcom: remove memset for clearing read register buffer

The memset in clear_read_regs is overhead. All the register data
will be filled by DMA during NAND operation so making these
register variables zero is not required.

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