diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-05-31 13:05:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-27 14:50:52 +0100 |
commit | 26aa47a8a01fe6b75de8f967fd6bea6517470b3d (patch) | |
tree | 61572e667eb308e2abbeea9d97c0336c3554c1c1 /drivers/phy/motorola | |
parent | 7b245fbd2374c5cbf770f5c7d8a30170ab205c8f (diff) | |
download | linux-rt-26aa47a8a01fe6b75de8f967fd6bea6517470b3d.tar.gz |
phy: qcom-qusb2: fix missing assignment of ret when calling clk_prepare_enable
[ Upstream commit d98010817a26eba8d4d1e8a639e0b7d7f042308a ]
The error return from the call to clk_prepare_enable is not being assigned
to variable ret even though ret is being used to check if the call failed.
Fix this by adding in the missing assignment.
Addresses-Coverity: ("Logically dead code")
Fixes: 891a96f65ac3 ("phy: qcom-qusb2: Add support for runtime PM")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/phy/motorola')
0 files changed, 0 insertions, 0 deletions