Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/codecs/
H A Drk817_codec.c476 struct rk817_codec_priv *rk817_codec_data; in rk817_platform_probe() local
479 rk817_codec_data = devm_kzalloc(&pdev->dev, in rk817_platform_probe()
482 if (!rk817_codec_data) in rk817_platform_probe()
485 platform_set_drvdata(pdev, rk817_codec_data); in rk817_platform_probe()
487 rk817_codec_data->rk808 = rk808; in rk817_platform_probe()
489 rk817_codec_parse_dt_property(&pdev->dev, rk817_codec_data); in rk817_platform_probe()
491 rk817_codec_data->mclk = devm_clk_get(pdev->dev.parent, "mclk"); in rk817_platform_probe()
492 if (IS_ERR(rk817_codec_data->mclk)) { in rk817_platform_probe()
498 ret = clk_prepare_enable(rk817_codec_data->mclk); in rk817_platform_probe()
516 clk_disable_unprepare(rk817_codec_data->mclk); in rk817_platform_probe()