summaryrefslogtreecommitdiff
path: root/sound/soc/mediatek/mt8188/mt8188-audsys-clk.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-06-01 16:43:38 +0100
committerMark Brown <broonie@kernel.org>2023-06-01 16:43:38 +0100
commitce789307107e5344546ad196e3631c007b39b243 (patch)
tree0b690b753f2a1975804bc66d0e05ba1f0fad05ef /sound/soc/mediatek/mt8188/mt8188-audsys-clk.h
parent524306c3764276ce6cc7509908934982ce167039 (diff)
parentdc93f0dcb436dfd24a06c5b3c0f4c5cd9296e8e5 (diff)
ASoC: mediatek: fix use-after-free in driver remove
Merge series from Trevor Wu <trevor.wu@mediatek.com>: These patches concern modifications made in mt8186[1]. The clock unregistration mechanism used in mt8188 and mt8195 is similar with mt8186, resulting in the same problem existing within the driver. Therefore, the solution has also been applied to these two platforms. [1] https://lore.kernel.org/all/20230511092437.1.I31cceffc8c45bb1af16eb613e197b3df92cdc19e@changeid/
Diffstat (limited to 'sound/soc/mediatek/mt8188/mt8188-audsys-clk.h')
-rw-r--r--sound/soc/mediatek/mt8188/mt8188-audsys-clk.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/mediatek/mt8188/mt8188-audsys-clk.h b/sound/soc/mediatek/mt8188/mt8188-audsys-clk.h
index 6c5f463ad7e4..45b0948c4a06 100644
--- a/sound/soc/mediatek/mt8188/mt8188-audsys-clk.h
+++ b/sound/soc/mediatek/mt8188/mt8188-audsys-clk.h
@@ -10,6 +10,5 @@
#define _MT8188_AUDSYS_CLK_H_
int mt8188_audsys_clk_register(struct mtk_base_afe *afe);
-void mt8188_audsys_clk_unregister(struct mtk_base_afe *afe);
#endif