diff options
author | Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> | 2023-11-28 11:04:35 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-11-30 12:59:07 +0300 |
commit | 88b74831faaee455c2af380382d979fc38e79270 (patch) | |
tree | cae0023e416370c7979aaf2c9d4307fcb31f123b /arch/mips/Kbuild | |
parent | d8eb6ea4b302e7ff78535c205510e359ac10a0bd (diff) | |
download | linux-88b74831faaee455c2af380382d979fc38e79270.tar.xz |
net: ravb: Use pm_runtime_resume_and_get()
pm_runtime_get_sync() may return an error. In case it returns with an error
dev->power.usage_count needs to be decremented. pm_runtime_resume_and_get()
takes care of this. Thus use it.
Fixes: c156633f1353 ("Renesas Ethernet AVB driver proper")
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'arch/mips/Kbuild')
0 files changed, 0 insertions, 0 deletions