diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-11-20 11:57:17 +0100 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2019-02-05 15:39:40 +0100 |
commit | a0916c94e9143e8aa0a1fe2a64794041657e99ac (patch) | |
tree | f462e510eade4ad73c180755e2fc6893c6d4f70c /kernel/trace | |
parent | b5c2defc026148c4d1e936e3bf26e49bd7e02dce (diff) | |
download | linux-a0916c94e9143e8aa0a1fe2a64794041657e99ac.tar.bz2 |
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>
Diffstat (limited to 'kernel/trace')
0 files changed, 0 insertions, 0 deletions