[PATCH v3] phy: rockchip-emmc: emmc_phy_init() always return 0

Vinod Koul vkoul at kernel.org
Wed Jan 13 06:43:15 EST 2021


On 10-12-20, 16:04, Chris Ruehl wrote:
> 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.

Applied, thanks

> 
> Fixes: 52c0624a10cce phy: rockchip-emmc: Set phyctrl_frqsel based on card clock
> 

No empty lines after fixes line pls

-- 
~Vinod



More information about the Linux-rockchip mailing list