mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-24 19:40:21 +09:00
ASoC: rockchip: rk817-codec: enable mclk when reset
Solve the problem that LRCK level amplitude is not enough Signed-off-by: Binyuan Lan <lby@rock-chips.com> Change-Id: Id79df3de70cd525e1d5425d4177d774a514c45da
This commit is contained in:
@@ -1147,7 +1147,10 @@ static int rk817_probe(struct snd_soc_component *component)
|
||||
rk817->chip_ver = (chip_ver & 0x0f);
|
||||
dev_info(component->dev, "%s: chip_name:0x%x, chip_ver:0x%x\n", __func__, chip_name, chip_ver);
|
||||
|
||||
clk_prepare_enable(rk817->mclk);
|
||||
rk817_reset(component);
|
||||
clk_disable_unprepare(rk817->mclk);
|
||||
|
||||
snd_soc_add_component_controls(component, rk817_snd_path_controls,
|
||||
ARRAY_SIZE(rk817_snd_path_controls));
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user