summaryrefslogtreecommitdiff
path: root/include/linux/mtd/rawnand.h
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-11-20 13:57:19 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2019-02-05 17:39:40 +0300
commit661803b23330daa7839680cca43ab410955c3f10 (patch)
tree37ff46b2e659c74f11cf027b09e4784cb13a9226 /include/linux/mtd/rawnand.h
parentefe5d132cb5089ec049ea8d95be8e4f01d3d3e0d (diff)
downloadlinux-661803b23330daa7839680cca43ab410955c3f10.tar.xz
mtd: rawnand: Stop using chip->state in drivers
We are about to simplify the locking in the rawnand framework, and part of this simplication is about getting rid of chip->state, so let's first patch drivers that check the state. All of them do that to get a timeout value based on the operation that is being executed. Since a timeout is, by definition, something that is here to prevent hanging on an event that might never happen, picking the maximum timeout value no matter the operation should be harmless. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'include/linux/mtd/rawnand.h')
0 files changed, 0 insertions, 0 deletions