diff options
| author | Neo Chang <YLCHANG2@nuvoton.com> | 2026-09-14 09:56:47 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-17 12:46:33 +0100 |
| commit | eeff736ebf5d6c6c605808d0e411a214efadadb9 (patch) | |
| tree | f0a9476c9c749d802a4bf3a291cab0f86a233376 /tools/lib/python | |
| parent | e04dcb895b4622d67164e218a1179785e2c75999 (diff) | |
ASoC: codecs: nau8360: Block DSP path selection when firmware load fails
Block the DSP path selection if the firmware fails to load to prevent
invalid routing states.
If the firmware is not ready, nau8360_dac_mux_put_enum() will print
a rate-limited warning and return -EBUSY. This rejects the invalid
userspace request and maintains the original hardware state without
causing audio wrong status.
Reported-by: Dan Carpenter <error27@gmail.com>
Closes: https://lore.kernel.org/linux-sound/aqK_oOpMAXVhxkHJ@stanley.mountain/
Suggested-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Neo Chang <YLCHANG2@nuvoton.com>
Link: https://patch.msgid.link/20260914015648.311986-2-YLCHANG2@nuvoton.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
