mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ASoC: mediatek: fix use-after-free in driver remove path
@ 2023-06-01  3:33 Trevor Wu
  2023-06-01  3:33 ` [PATCH v2 1/2] ASoC: mediatek: mt8188: " Trevor Wu
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Trevor Wu @ 2023-06-01  3:33 UTC (permalink / raw)
  To: broonie, lgirdwood, tiwai, perex, matthias.bgg,
	angelogioacchino.delregno
  Cc: trevor.wu, dianders, alsa-devel, linux-mediatek,
	linux-arm-kernel, linux-kernel

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/

Changes since v1:
  - remove unnecessary cast

Trevor Wu (2):
  ASoC: mediatek: mt8188: fix use-after-free in driver remove path
  ASoC: mediatek: mt8195: fix use-after-free in driver remove path

 sound/soc/mediatek/mt8188/mt8188-afe-clk.c    |  7 ---
 sound/soc/mediatek/mt8188/mt8188-afe-clk.h    |  1 -
 sound/soc/mediatek/mt8188/mt8188-afe-pcm.c    |  4 --
 sound/soc/mediatek/mt8188/mt8188-audsys-clk.c | 47 ++++++++++---------
 sound/soc/mediatek/mt8188/mt8188-audsys-clk.h |  1 -
 sound/soc/mediatek/mt8195/mt8195-afe-clk.c    |  5 --
 sound/soc/mediatek/mt8195/mt8195-afe-clk.h    |  1 -
 sound/soc/mediatek/mt8195/mt8195-afe-pcm.c    |  4 --
 sound/soc/mediatek/mt8195/mt8195-audsys-clk.c | 47 ++++++++++---------
 sound/soc/mediatek/mt8195/mt8195-audsys-clk.h |  1 -
 10 files changed, 48 insertions(+), 70 deletions(-)

-- 
2.18.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-06-05 13:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-01  3:33 [PATCH v2 0/2] ASoC: mediatek: fix use-after-free in driver remove path Trevor Wu
2023-06-01  3:33 ` [PATCH v2 1/2] ASoC: mediatek: mt8188: " Trevor Wu
2023-06-01 10:02   ` AngeloGioacchino Del Regno
2023-06-05 13:21   ` Alexandre Mergnat
2023-06-01  3:33 ` [PATCH v2 2/2] ASoC: mediatek: mt8195: " Trevor Wu
2023-06-01 10:02   ` AngeloGioacchino Del Regno
2023-06-05 13:27   ` Alexandre Mergnat
2023-06-01 15:44 ` [PATCH v2 0/2] ASoC: mediatek: " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®