Re: [PATCHv2] reset: socfpga: add error handling and release mem-region

From: Philipp Zabel
Date: Tue Dec 01 2020 - 06:13:49 EST


On Mon, 2020-11-09 at 13:21 -0600, Dinh Nguyen wrote:
> 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@xxxxxxxxx>
> Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> Signed-off-by: Dinh Nguyen <dinguyen@xxxxxxxxxx>
> ---
> v2: return ret value

Thank you, applied to reset/next.

regards
Philipp