summaryrefslogtreecommitdiff
path: root/Documentation/tty/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorPengpeng Hou <pengpeng@iscas.ac.cn>2026-06-15 14:33:32 +0800
committerMiquel Raynal <miquel.raynal@bootlin.com>2026-06-29 16:39:14 +0200
commit1a8b2951ba3c35824ff4df0ea7d9f7a554c964a2 (patch)
tree65dabd44fe47d85c090e5c26f0b6c3acdcc68aa8 /Documentation/tty/git@git.tavy.me:linux.git
parent82d9a2b45b170f0c52ac61e0e3e23f212cd065f0 (diff)
mtd: rawnand: ingenic: handle ECC clock enable failures
ingenic_ecc_get() obtains a provider device reference and then enables the ECC clock before returning the ECC handle. The clk_prepare_enable() return value is currently ignored. If enabling the clock fails, the function still returns the ECC handle and keeps the provider device reference even though the acquire operation did not complete. Return the clock enable error and drop the provider device reference on that failure path. Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'Documentation/tty/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions