diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-11-11 08:55:16 +0100 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-12-07 10:38:25 +0100 |
commit | 02b4a52604a4d1734a666ed11f9fb43afff10656 (patch) | |
tree | c66edcf2d423cf3cfacf8c5ece362c71f1308b0a /drivers/mtd/nand/raw/fsmc_nand.c | |
parent | ae2294b10b0f066ef500954b36c94ee11c4ef20f (diff) | |
download | lwn-02b4a52604a4d1734a666ed11f9fb43afff10656.tar.gz lwn-02b4a52604a4d1734a666ed11f9fb43afff10656.zip |
mtd: rawnand: Make ->select_chip() optional when ->exec_op() is implemented
Now that the CS to be selected on a nand_operation is passed in
nand_operation->cs we can make the ->select_chip() hook optional for
drivers implementing ->exec_op().
When not implemented, the core is assuming the CS line is automatically
asserted/deasserted by the driver ->exec_op() implementation.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Tested-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand/raw/fsmc_nand.c')
0 files changed, 0 insertions, 0 deletions