mbox series

[0/2] ASoC: codecs: warn on unknown codec version

Message ID 20240803-codec-version-v1-0-bc29baa5e417@linaro.org
Headers show
Series ASoC: codecs: warn on unknown codec version | expand

Message

Dmitry Baryshkov Aug. 3, 2024, 10:41 a.m. UTC
While debugging broken audio issues on some of Qualcomm platforms I
stumbled upon the kernel not providing the actual error information.
It prints an error from the wsa_macro driver, but the actual issue is in
the VA macro driver. Add error message to point to the actual error
location.

va_macro 3370000.codec: Unknown VA Codec version, ID: 00 / 0f / 00
wsa_macro 3240000.codec: Unsupported Codec version (0)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
Dmitry Baryshkov (2):
      ASoC: codecs: lpass-macro: fix version strings returned for 1.x codecs
      ASoC: codecs: lpass-va-macro: warn on unknown version

 sound/soc/codecs/lpass-macro-common.h | 6 ++++++
 sound/soc/codecs/lpass-va-macro.c     | 4 ++++
 2 files changed, 10 insertions(+)
---
base-commit: 668d33c9ff922c4590c58754ab064aaf53c387dd
change-id: 20240803-codec-version-db6f65ab51ce

Best regards,

Comments

Mark Brown Aug. 9, 2024, 7:33 a.m. UTC | #1
On Sat, 03 Aug 2024 13:41:39 +0300, Dmitry Baryshkov wrote:
> While debugging broken audio issues on some of Qualcomm platforms I
> stumbled upon the kernel not providing the actual error information.
> It prints an error from the wsa_macro driver, but the actual issue is in
> the VA macro driver. Add error message to point to the actual error
> location.
> 
> va_macro 3370000.codec: Unknown VA Codec version, ID: 00 / 0f / 00
> wsa_macro 3240000.codec: Unsupported Codec version (0)
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/2] ASoC: codecs: lpass-macro: fix version strings returned for 1.x codecs
      commit: 49f6202ce991742f451fc724f03d0c17460d06cd
[2/2] ASoC: codecs: lpass-va-macro: warn on unknown version
      commit: a9a7a2d80790d06cd32c535e2e7b10f72ce592e7

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark