summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2025-04-02 10:56:23 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2025-04-07 10:02:49 +0300
commitb79fe1829975556854665258cf4d2476784a89db (patch)
treee22c4997c00ca227f38a853918d24a41945d66c8 /tools/perf/scripts/python/gecko.py
parentd027951dc85cb2e15924c980dc22a6754d100c7c (diff)
downloadlinux-b79fe1829975556854665258cf4d2476784a89db.tar.xz
mtd: rawnand: Add status chack in r852_ready()
In r852_ready(), the dev get from r852_get_dev() need to be checked. An unstable device should not be ready. A proper implementation can be found in r852_read_byte(). Add a status check and return 0 when it is unstable. Fixes: 50a487e7719c ("mtd: rawnand: Pass a nand_chip object to chip->dev_ready()") Cc: stable@vger.kernel.org # v4.20+ Signed-off-by: Wentao Liang <vulab@iscas.ac.cn> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions