diff options
author | Dongliang Mu <mudongliangabcd@gmail.com> | 2022-09-14 07:13:33 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-09-24 09:18:10 +0200 |
commit | c3966ced8eb8dc53b6c8d7f97d32cc8a2107d83e (patch) | |
tree | 95fc445b27c4d2efa3e95d757bf9babf13e2ea68 /samples/bpf/tcp_basertt_kern.c | |
parent | phy: intel: Use dev_err_probe() to simplify code (diff) | |
download | linux-c3966ced8eb8dc53b6c8d7f97d32cc8a2107d83e.tar.xz linux-c3966ced8eb8dc53b6c8d7f97d32cc8a2107d83e.zip |
phy: qualcomm: call clk_disable_unprepare in the error handling
Smatch reports the following error:
drivers/phy/qualcomm/phy-qcom-usb-hsic.c:82 qcom_usb_hsic_phy_power_on()
warn: 'uphy->cal_clk' from clk_prepare_enable() not released on lines:
58.
drivers/phy/qualcomm/phy-qcom-usb-hsic.c:82 qcom_usb_hsic_phy_power_on()
warn: 'uphy->cal_sleep_clk' from clk_prepare_enable() not released on
lines: 58.
drivers/phy/qualcomm/phy-qcom-usb-hsic.c:82 qcom_usb_hsic_phy_power_on()
warn: 'uphy->phy_clk' from clk_prepare_enable() not released on lines:
58.
Fix this by calling proper clk_disable_unprepare calls.
Fixes: 0b56e9a7e835 ("phy: Group vendor specific phy drivers")
Signed-off-by: Dongliang Mu <mudongliangabcd@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20220914051334.69282-1-dzm91@hust.edu.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'samples/bpf/tcp_basertt_kern.c')
0 files changed, 0 insertions, 0 deletions