commit | a0916c94e9143e8aa0a1fe2a64794041657e99ac | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@bootlin.com> | Tue Nov 20 11:57:17 2018 +0100 |
committer | Miquel Raynal <miquel.raynal@bootlin.com> | Tue Feb 05 15:39:40 2019 +0100 |
tree | f462e510eade4ad73c180755e2fc6893c6d4f70c | |
parent | b5c2defc026148c4d1e936e3bf26e49bd7e02dce [diff] |
mtd: rawnand: tmio: Do not abuse nand_controller->wq nand_controller->wq has never been meant to be used by NAND controller drivers. This waitqueue is used by the framework to serialize accesses to a NAND controller, and messing up with its state is a really bad idea. Declare a completion object in tmio_nand and use it to wait for RB transitions. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>