Home
last modified time | relevance | path

Searched hist:"0 d625a167b169f0bfdfd2e4dc05b9c89b81efe98" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/reset/
H A Dreset-socfpga.cdiff 0d625a167b169f0bfdfd2e4dc05b9c89b81efe98 Mon Nov 09 20:21:41 CET 2020 Dinh Nguyen <dinguyen@kernel.org> 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>