Hi Hans,
> err_pm:
>         pm_runtime_put(dev);
> 
> Shouldn't that be pm_runtime_put_sync()?
> 
> I'm not pm expert, but it does look odd.
> 

I checked the implementation of these two APIs before
and found they were exactly the same. So I think it's
fine to keep using pm_runtime_put().

Regards,
Dinghao

Reply via email to