Searched refs:mixer_ctx (Results 1 – 1 of 1) sorted by relevance
776 static int mixer_resources_init(struct mixer_context *mixer_ctx) in mixer_resources_init() argument778 struct device *dev = &mixer_ctx->pdev->dev; in mixer_resources_init()782 spin_lock_init(&mixer_ctx->reg_slock); in mixer_resources_init()784 mixer_ctx->mixer = devm_clk_get(dev, "mixer"); in mixer_resources_init()785 if (IS_ERR(mixer_ctx->mixer)) { in mixer_resources_init()790 mixer_ctx->hdmi = devm_clk_get(dev, "hdmi"); in mixer_resources_init()791 if (IS_ERR(mixer_ctx->hdmi)) { in mixer_resources_init()793 return PTR_ERR(mixer_ctx->hdmi); in mixer_resources_init()796 mixer_ctx->sclk_hdmi = devm_clk_get(dev, "sclk_hdmi"); in mixer_resources_init()797 if (IS_ERR(mixer_ctx->sclk_hdmi)) { in mixer_resources_init()[all …]