diff options
| author | Chancel Liu <chancel.liu@nxp.com> | 2026-08-10 18:35:29 +0900 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-08-13 15:48:02 +0100 |
| commit | 4c51a83a4fe85dd58a56bed491740ecefcf8a110 (patch) | |
| tree | ce4e7ecad04419186d513e14ec9dc335ad24df19 /tools/perf/scripts/python | |
| parent | db2ddb87143519e20a95aa36c60b36107b736a58 (diff) | |
ASoC: fsl-asoc-card: Drop mclk management for nau8822
commit 93f12a7568269 ("ASoC: nau8822: add MCLK support") added MCLK
handling directly in the nau8822 codec driver. The machine driver no
longer needs to acquire and enable the codec MCLK on its behalf.
Remove MCLK management in this machine driver that was introduced by
commit 1075df4bdeb32 ("ASoC: fsl-asoc-card: add nau8822 support"). This
avoids a potential double-enable and removes clock resource management
from the machine driver where it does not belong.
Additionally, the sound card may be unbound and rebound multiple times
during its lifetime. Managing a codec clock resource in the machine
driver would require careful cleanup in the card remove path to avoid
reference count leaks. Leaving clock management to the codec driver,
which has the same lifetime as the codec device, is the correct
ownership model.
The nau8822 compatible entry, DAI name, and PLL/FLL clock ID
configuration are kept unchanged.
Assisted-by: VeroCoder:claude-sonnet-4-6
Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Link: https://patch.msgid.link/20260810093834.1511749-2-chancel.liu@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
