Searched refs:mixer_ctx (Results 1 – 1 of 1) sorted by relevance
773 static int mixer_resources_init(struct mixer_context *mixer_ctx) in mixer_resources_init() argument775 struct device *dev = &mixer_ctx->pdev->dev; in mixer_resources_init()779 spin_lock_init(&mixer_ctx->reg_slock); in mixer_resources_init()781 mixer_ctx->mixer = devm_clk_get(dev, "mixer"); in mixer_resources_init()782 if (IS_ERR(mixer_ctx->mixer)) { in mixer_resources_init()787 mixer_ctx->hdmi = devm_clk_get(dev, "hdmi"); in mixer_resources_init()788 if (IS_ERR(mixer_ctx->hdmi)) { in mixer_resources_init()790 return PTR_ERR(mixer_ctx->hdmi); in mixer_resources_init()793 mixer_ctx->sclk_hdmi = devm_clk_get(dev, "sclk_hdmi"); in mixer_resources_init()794 if (IS_ERR(mixer_ctx->sclk_hdmi)) { in mixer_resources_init()[all …]