[PATCH 1/2] reset: introduce reset_get_bulk_optional()

Nikita Yushchenko nikita.yoush at cogentembedded.com
Thu Mar 10 13:27:43 CET 2022


>> +int reset_get_bulk_optional(struct udevice *dev, struct reset_ctl_bulk *bulk)
>> +{
>> +       int ret = reset_get_bulk(dev, bulk);
>> +
>> +       if (ret == -ENODEV)
> 
> Are you sure about this return type? I think it would be -ENODATA if
> I'm not wrong.

It shall be -ENOENT on master. Oops.


More information about the U-Boot mailing list