summaryrefslogtreecommitdiff
path: root/drivers/char/tlclk.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2016-10-22 14:15:22 -0200
committerBoris Brezillon <boris.brezillon@free-electrons.com>2016-10-28 09:58:05 +0200
commitce93bedb5ed2b16c08c6df4c797865f9ead600a3 (patch)
tree045b76762fcddfe757a539ab39425e5756851e01 /drivers/char/tlclk.c
parent07d9a380680d1c0eb51ef87ff2eab5c994949e69 (diff)
mtd: nand: gpmi: disable the clocks on errors
We should disable the previously enabled GPMI clocks in the error paths. Also, when gpmi_enable_clk() fails simply return the error code immediately rather than jumping to to the 'err_out' label. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Marek Vasut <marex@denx.de> Acked-by: Han Xu <han.xu@nxp.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/char/tlclk.c')
0 files changed, 0 insertions, 0 deletions