diff options
author | Karol Wachowski <[email protected]> | 2023-10-20 12:44:58 +0200 |
---|---|---|
committer | Stanislaw Gruszka <[email protected]> | 2023-10-23 08:59:20 +0200 |
commit | c39dc15191c4d40c58ce986e5f0daf94c84b7324 (patch) | |
tree | 06836709fea6989bae0ee4d9ef22dd00ad0c00e8 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 74ce0f3873821f12391bcf5469d81583d34f4c6c (diff) |
accel/ivpu: Read clock rate only if device is up
Do not unnecessarily wake up device to read clock rate.
Return 0 as clk_rate if device is suspended.
Signed-off-by: Karol Wachowski <[email protected]>
Reviewed-by: Stanislaw Gruszka <[email protected]>
Reviewed-by: Jeffrey Hugo <[email protected]>
Signed-off-by: Stanislaw Gruszka <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions