[RAMEN9610-20754][9610] ASoC: abox: requested cpu gear to hold the usage count of PM
authorShinHyung <s47.kang@samsung.com>
Tue, 10 Sep 2019 09:43:35 +0000 (18:43 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:37 +0000 (20:23 +0300)
Change-Id: I71181515f075308319156c5964298cec18b71750
Signed-off-by: ShinHyung <s47.kang@samsung.com>
sound/soc/samsung/abox/abox.c

index c637dc31b868253378f7ee0b8cd4294b9cb2ec7e..86007870beaf94adbc8bf9db9abc9a783953557d 100644 (file)
@@ -5291,6 +5291,8 @@ static int abox_enable(struct device *dev)
 
        abox_gic_enable_irq(data->dev_gic);
 
+       abox_request_cpu_gear(dev, data, (void *)DEFAULT_CPU_GEAR_ID,
+                       ABOX_CPU_GEAR_MAX);
        ret = clk_set_rate(data->clk_pll, AUD_PLL_RATE_HZ_FOR_48000);
        if (ret < 0)
                dev_warn(dev, "setting audio pll clock to 1.2Ghz is failed: %d\n",      ret);