diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2018-06-10 20:45:32 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2018-06-17 13:23:33 +0300 |
commit | 9d72fe1ce81bc757ecb6d57b58e5fd95b9ad1b26 (patch) | |
tree | 86eb833aaf63460b92fbca672ed2cac9df5d8069 /drivers/edac/edac_module.c | |
parent | ce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff) | |
download | linux-9d72fe1ce81bc757ecb6d57b58e5fd95b9ad1b26.tar.xz |
EDAC, altera: Fix an error handling path in altr_s10_sdram_probe()
If regmap_write() fails, we should release some resources as done in all
the other error handling paths of the function.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Thor Thayer <thor.thayer@linux.intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20180610174532.22071-1-christophe.jaillet@wanadoo.fr
Fixes: e9918d7fafae ("EDAC, altera: Handle SDRAM Uncorrectable Errors on Stratix10")
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/edac_module.c')
0 files changed, 0 insertions, 0 deletions