Skip to content
Commit cb7dc317 authored by Evgeny Novikov's avatar Evgeny Novikov Committed by Miquel Raynal
Browse files

mtd: rawnand: vf610: disable clk on error handling path in probe



vf610_nfc_probe() does not invoke clk_disable_unprepare() on one error
handling path. The patch fixes that.

Found by Linux Driver Verification project (linuxtesting.org).

Fixes: 6f0ce4df ("mtd: rawnand: vf610: Avoid a potential NULL pointer dereference")
Signed-off-by: default avatarEvgeny Novikov <novikov@ispras.ru>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200806072634.23528-1-novikov@ispras.ru
parent d43511d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment