diff options
| author | Fabio Estevam <[email protected]> | 2016-10-22 16:15:22 +0000 |
|---|---|---|
| committer | Boris Brezillon <[email protected]> | 2016-10-28 07:58:05 +0000 |
| commit | ce93bedb5ed2b16c08c6df4c797865f9ead600a3 (patch) | |
| tree | 045b76762fcddfe757a539ab39425e5756851e01 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | Linux 4.9-rc2 (diff) | |
| download | kernel-ce93bedb5ed2b16c08c6df4c797865f9ead600a3.tar.gz kernel-ce93bedb5ed2b16c08c6df4c797865f9ead600a3.zip | |
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 <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Acked-by: Han Xu <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
