]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
mtd: nand: pl35x: Implement De-select in Chip Select which saves power
authorAndrew Worsley <amworsley@gmail.com>
Thu, 27 Sep 2018 07:06:01 +0000 (12:36 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 27 Sep 2018 07:28:16 +0000 (09:28 +0200)
commite255222b6543f6fc0996f582cabfea0ed883a0ed
tree6ad5c22c1a2ab88eff2c8b2fa5dbaabb2fd163fc
parentf2bed147b683ac3f2836eb91771af2f11d6170f7
mtd: nand: pl35x: Implement De-select in Chip Select which saves power

nand_select_chip when called with negative chip no.
means we have finished operations on the chip
so we can deselect it. This allows the chip to
enter a lower power state.

Signed-off-by: Andrew Worsley <amworsley@gmail.com>
Reviewed-by: Naga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/mtd/nand/pl35x_nand.c