summaryrefslogtreecommitdiffstats
path: root/drivers/reset/reset-ti-syscon.c
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@kernel.org>2020-11-09 20:21:41 +0100
committerPhilipp Zabel <p.zabel@pengutronix.de>2020-12-01 11:37:12 +0100
commit0d625a167b169f0bfdfd2e4dc05b9c89b81efe98 (patch)
tree84c3657eaa4be5d11c96c9e446a10387cd110ddf /drivers/reset/reset-ti-syscon.c
parentreset: meson: make it possible to build as a module (diff)
downloadlinux-0d625a167b169f0bfdfd2e4dc05b9c89b81efe98.tar.xz
linux-0d625a167b169f0bfdfd2e4dc05b9c89b81efe98.zip
reset: socfpga: add error handling and release mem-region
In case of an error, call release_mem_region when an error happens during allocation of resources. Also add error handling for the case that reset_controller_register fails. Reported-by: kernel test robot <lkp@intel.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset/reset-ti-syscon.c')
0 files changed, 0 insertions, 0 deletions