aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2022-06-03 15:01:30 +0530
committerViresh Kumar <[email protected]>2022-07-08 11:27:51 +0530
commit1efae8d2e7775b04656eb18d0a044fbd412dab3c (patch)
tree3ca3acb0a5932abbd62ac50ff72f6a97f059d0f8 /drivers/usb/cdns3/cdns3-trace.c
parent8bdac14b0cd56d9578d3112375ed8b23884c1a69 (diff)
OPP: Make dev_pm_opp_set_opp() independent of frequency
dev_pm_opp_set_opp() can be called for any device, it may or may not have a frequency value associated with it. If a frequency value isn't available, we pass 0 to _set_opp(). Make it optional instead by making _set_opp() accept a pointer instead, as the frequency value is anyway available in the OPP. This makes dev_pm_opp_set_opp() and _set_opp() completely independent of any special key value. Tested-by: Dmitry Osipenko <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions