On Thu, Jun 18, 2026 at 07:00:56AM +0200, Linus Walleij wrote:

> +static int db8500_regulator_get_voltage(struct regulator_dev *rdev)
> +{
> +     struct db8500_regulator_info *info = rdev_get_drvdata(rdev);
> +
> +     if (!info->desc.fixed_uV)
> +             return -EINVAL;
> +
> +     return info->desc.fixed_uV;
> +}

The core supports single fixed voltages, set desc->fixed_uV.

Attachment: signature.asc
Description: PGP signature

Reply via email to