Home
last modified time | relevance | path

Searched refs:rk817_codec_data (Results 1 – 1 of 1) sorted by relevance

/linux/sound/soc/codecs/
H A Drk817_codec.c475 struct rk817_codec_priv *rk817_codec_data; in rk817_platform_probe() local
478 rk817_codec_data = devm_kzalloc(&pdev->dev, in rk817_platform_probe()
481 if (!rk817_codec_data) in rk817_platform_probe()
484 platform_set_drvdata(pdev, rk817_codec_data); in rk817_platform_probe()
486 rk817_codec_data->rk808 = rk808; in rk817_platform_probe()
488 rk817_codec_parse_dt_property(&pdev->dev, rk817_codec_data); in rk817_platform_probe()
490 rk817_codec_data->mclk = devm_clk_get(pdev->dev.parent, "mclk"); in rk817_platform_probe()
491 if (IS_ERR(rk817_codec_data->mclk)) { in rk817_platform_probe()
497 ret = clk_prepare_enable(rk817_codec_data->mclk); in rk817_platform_probe()
515 clk_disable_unprepare(rk817_codec_data->mclk); in rk817_platform_probe()