Revert "ASoC: rt5682: Return devm_of_clk_add_hw_provider to transfer the error"
This reverts commit 86ae9d274f
.
This commit is contained in:
parent
cca752c01a
commit
467421daae
1 changed files with 1 additions and 3 deletions
|
@ -2843,10 +2843,8 @@ static int rt5682_register_dai_clks(struct snd_soc_component *component)
|
|||
}
|
||||
|
||||
if (dev->of_node) {
|
||||
ret = devm_of_clk_add_hw_provider(dev, of_clk_hw_simple_get,
|
||||
devm_of_clk_add_hw_provider(dev, of_clk_hw_simple_get,
|
||||
dai_clk_hw);
|
||||
if (ret)
|
||||
return ret;
|
||||
} else {
|
||||
ret = devm_clk_hw_register_clkdev(dev, dai_clk_hw,
|
||||
init.name,
|
||||
|
|
Loading…
Add table
Reference in a new issue