summaryrefslogtreecommitdiff
path: root/crypto/scompress.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-12-03 11:39:48 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-12-10 22:37:33 +0100
commitad8566d3555c4731e6b48823b92d3929b0394c14 (patch)
tree7e3024a46ed4e2dbb6b13b23ccc2684535f91117 /crypto/scompress.c
parentd1c3ede6a3374b8046d6b6cccdecf8645292bf39 (diff)
mtd: rawnand: meson: Fix a resource leak in init
Call clk_disable_unprepare(nfc->phase_rx) if the clk_set_rate() function fails to avoid a resource leak. Fixes: 8fae856c5350 ("mtd: rawnand: meson: add support for Amlogic NAND flash controller") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/X8ikVCnUsfTpffFB@mwanda
Diffstat (limited to 'crypto/scompress.c')
0 files changed, 0 insertions, 0 deletions