mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-23 07:36:57 +08:00

kernel: bump to 4.14.193, 4.19.138, 5.4.59 (#5350) 431fb8c mac80211: add AQL improvements 6bdd4c9 mac80211: add missing backports for building with 4.14 kernels 0106820 mac80211: add missing return code checks in AQL improvements e7f7101 mac80211: rework encapsulation offload support [package] base-files: add function for generating random MAC dnsmasq: abort dhcp_check on interface state boot: sync upstream source code ath10k-ct-firmware/mt76/sch_cake: update to latest git HEAD [script] download: add China Mirror Station [target] Sync: arc770, ath79, bcm63xx, kirkwood, lantiq, layerscape, mediatek, mvebu, octeon, oxnas, pistachio, uml Sync most of the target patches. Run-compiled-on: ipq40xx (4.19 & 5.4), ramips
41 lines
1.1 KiB
Diff
41 lines
1.1 KiB
Diff
From 702f662e21b9246348987a119e2a3ca16a31acb7 Mon Sep 17 00:00:00 2001
|
|
From: Shengjiu Wang <shengjiu.wang@nxp.com>
|
|
Date: Fri, 22 Nov 2019 15:36:31 +0800
|
|
Subject: [PATCH] LF-106: ASoC: fsl_sai: request BUS_FREQ_AUDIO
|
|
|
|
request BUS_FREQ_AUDIO
|
|
|
|
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
|
|
---
|
|
sound/soc/fsl/fsl_sai.c | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
--- a/sound/soc/fsl/fsl_sai.c
|
|
+++ b/sound/soc/fsl/fsl_sai.c
|
|
@@ -23,6 +23,7 @@
|
|
#include <linux/mfd/syscon.h>
|
|
#include <linux/mfd/syscon/imx6q-iomuxc-gpr.h>
|
|
#include <linux/pm_runtime.h>
|
|
+#include <linux/busfreq-imx.h>
|
|
|
|
#include "fsl_dsd.h"
|
|
#include "fsl_sai.h"
|
|
@@ -1568,6 +1569,8 @@ static int fsl_sai_runtime_suspend(struc
|
|
|
|
regcache_cache_only(sai->regmap, true);
|
|
|
|
+ release_bus_freq(BUS_FREQ_AUDIO);
|
|
+
|
|
if (sai->mclk_streams & BIT(SNDRV_PCM_STREAM_CAPTURE))
|
|
clk_disable_unprepare(sai->mclk_clk[sai->mclk_id[0]]);
|
|
|
|
@@ -1609,6 +1612,8 @@ static int fsl_sai_runtime_resume(struct
|
|
goto disable_tx_clk;
|
|
}
|
|
|
|
+ request_bus_freq(BUS_FREQ_AUDIO);
|
|
+
|
|
if (sai->soc->flags & SAI_FLAG_PMQOS)
|
|
pm_qos_add_request(&sai->pm_qos_req,
|
|
PM_QOS_CPU_DMA_LATENCY, 0);
|