Re: [PATCH] mmc: sdhci-of-arasan: Add missed checks for devm_clk_register()
From: Doug Anderson
Date: Mon Jun 08 2020 - 14:15:26 EST
Hi,
On Mon, Jun 8, 2020 at 9:22 AM Chuhong Yuan <hslester96@xxxxxxxxx> wrote:
>
> These functions do not check the return value of devm_clk_register():
> - sdhci_arasan_register_sdcardclk()
> - sdhci_arasan_register_sampleclk()
>
> Therefore, add the missed checks to fix them.
>
> Fixes: c390f2110adf1 ("mmc: sdhci-of-arasan: Add ability to export card clock")
> Signed-off-by: Chuhong Yuan <hslester96@xxxxxxxxx>
> ---
> drivers/mmc/host/sdhci-of-arasan.c | 4 ++++
> 1 file changed, 4 insertions(+)
Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>