Skip to content
Commit c99e1d0c authored by Chuhong Yuan's avatar Chuhong Yuan Committed by Ulf Hansson
Browse files

mmc: sdhci-of-arasan: Add missed checks for devm_clk_register()



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: c390f211 ("mmc: sdhci-of-arasan: Add ability to export card clock")
Signed-off-by: default avatarChuhong Yuan <hslester96@gmail.com>
Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20200608162226.3259186-1-hslester96@gmail.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 40e6c479
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment