diff options
author | Chris Ruehl <[email protected]> | 2020-12-10 16:04:54 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2021-01-13 17:28:24 +0530 |
commit | 39961bd6b70e5a5d7c4b5483ad8e1db6b5765c60 (patch) | |
tree | de134f2ec5980cd3ab2d9e55586eb4ab9268de60 /net/strparser/strparser.c | |
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 <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'net/strparser/strparser.c')
0 files changed, 0 insertions, 0 deletions