RE: [PATCH] regulator: da9121: Return REGULATOR_MODE_INVALID for invalid mode

From: Adam Ward
Date: Mon May 17 2021 - 10:11:10 EST


On 17 May 2021 06:27, Axel Lin wrote:

> -EINVAL is not a valid return value for .of_map_mode, return
> REGULATOR_MODE_INVALID instead.
>
> Fixes: 65ac97042d4e ("regulator: da9121: add mode support")
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>
> ---

Acked-by: Adam Ward <Adam.Ward.opensource@xxxxxxxxxxx>