Jean Pihet <[email protected]> writes:
[...]
>> @@ -94,6 +95,14 @@ static int _pwrdm_register(struct powerdomain *pwrdm)
>> if (_pwrdm_lookup(pwrdm->name))
>> return -EEXIST;
>>
>> + voltdm = voltdm_lookup(pwrdm->voltdm.name);
>> + if (!voltdm) {
>> + pr_err("powerdomain: %s: voltagedomain %s does not exist\n",
>> + pwrdm->name, pwrdm->voltdm.name);
>> + return -EINVAL;
>
> Per patch 10/19 some power domains do not have an associated voltage
> domain struct filled in. This will result in failure of the power
> domain registration. I think this is not expected.
>
Right. I'll fix up the changelog in patch 10. Now, all powerdomains
are required to have a voltage domain.
Kevin
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html