diff options
author | 2025-02-05 18:36:49 +0100 | |
---|---|---|
committer | 2025-03-14 09:18:02 +0100 | |
commit | 17c6526b333cfd89a4c888a6f7c876c8c326e5ae (patch) | |
tree | 2f4fa14926327c3998f78221c2461e9d02c0aa67 /scripts/gdb/linux/utils.py | |
parent | usb: cdns3: rename hibernated argument of role->resume() to lost_power (diff) | |
download | wireguard-linux-17c6526b333cfd89a4c888a6f7c876c8c326e5ae.tar.xz wireguard-linux-17c6526b333cfd89a4c888a6f7c876c8c326e5ae.zip |
usb: cdns3: call cdns_power_is_lost() only once in cdns_resume()
cdns_power_is_lost() does a register read.
Call it only once rather than twice.
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Link: https://lore.kernel.org/r/20250205-s2r-cdns-v7-4-13658a271c3c@bootlin.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions