[PATCH] regulator: preserve error code properly in regulator_list_autoset()

Simon Glass sjg at chromium.org
Thu Jul 27 02:49:39 CEST 2023


On Wed, 26 Jul 2023 at 01:01, Dan Carpenter <dan.carpenter at linaro.org> wrote:
>
> This code has a & vs && typo so it only preserves odd value error
> codes and not even value error codes.
>
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>
> ---
>  drivers/power/regulator/regulator-uclass.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list