diff options
author | Chris Ruehl <chris.ruehl@gtsys.com.hk> | 2020-12-10 16:04:54 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-01-13 17:28:24 +0530 |
commit | 39961bd6b70e5a5d7c4b5483ad8e1db6b5765c60 (patch) | |
tree | de134f2ec5980cd3ab2d9e55586eb4ab9268de60 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d092bd9110494de3372722b317510b3692f1b2fe (diff) |
phy: rockchip-emmc: emmc_phy_init() always return 0
rockchip_emmc_phy_init() return variable is not set with the error value
if clk_get() failed. 'emmcclk' is optional, thus use clk_get_optional()
and if the return value != NULL make error processing and set the
return code accordingly.
Fixes: 52c0624a10cce phy: rockchip-emmc: Set phyctrl_frqsel based on card clock
Signed-off-by: Chris Ruehl <chris.ruehl@gtsys.com.hk>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20201210080454.17379-1-chris.ruehl@gtsys.com.hk
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions