To prevent the failure of the freezing task when entering suspend mode,
Change clock control method from gear_sync to set_rate.
Change-Id: Ieee64f5c90c7b4650de7259e32ca845190dbc8a9
Signed-off-by: ShinHyung <s47.kang@samsung.com>
abox_gic_enable_irq(data->dev_gic);
- abox_request_cpu_gear_sync(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);
if (is_secure_gic()) {
exynos_pmu_write(ABOX_MAGIC, 0);