aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/generated/handshake-user.c
diff options
context:
space:
mode:
authorClaudiu Beznea <[email protected]>2023-11-28 08:04:35 +0000
committerPaolo Abeni <[email protected]>2023-11-30 09:59:07 +0000
commit88b74831faaee455c2af380382d979fc38e79270 (patch)
treecae0023e416370c7979aaf2c9d4307fcb31f123b /tools/net/ynl/generated/handshake-user.c
parentnet: ravb: Check return value of reset_control_deassert() (diff)
downloadkernel-88b74831faaee455c2af380382d979fc38e79270.tar.gz
kernel-88b74831faaee455c2af380382d979fc38e79270.zip
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 <[email protected]> Signed-off-by: Claudiu Beznea <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/handshake-user.c')
0 files changed, 0 insertions, 0 deletions