* [PATCH] ASoC: codecs: va-macro: fix revision checking
@ 2025-10-29 14:43 Srinivas Kandagatla
2025-10-30 11:09 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Srinivas Kandagatla @ 2025-10-29 14:43 UTC (permalink / raw)
To: broonie
Cc: perex, tiwai, srini, linux-sound, linux-kernel, linux-arm-msm,
konrad.dybcio, prasad.kumpatla, Srinivas Kandagatla
The revision rework patch seems to have reversed the bit positions for
macro presence in core_id_1 register.
This broken RB1 and Arduino UnoQ audio.
Fix these bit positions to correctly reflect the register definition.
Fixes: 281c97376cfc ("ASoC: codecs: va-macro: Rework version checking")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
---
sound/soc/codecs/lpass-va-macro.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sound/soc/codecs/lpass-va-macro.c b/sound/soc/codecs/lpass-va-macro.c
index 2b0ecc52c6be..fbe5ebeeaa80 100644
--- a/sound/soc/codecs/lpass-va-macro.c
+++ b/sound/soc/codecs/lpass-va-macro.c
@@ -67,10 +67,10 @@
#define CDC_VA_TOP_CSR_CORE_ID_0 (0x00C0)
#define CORE_ID_0_REV_MAJ GENMASK(7, 0)
#define CDC_VA_TOP_CSR_CORE_ID_1 (0x00C4)
-#define CORE_ID_1_HAS_WSAMACRO BIT(3)
-#define CORE_ID_1_HAS_RXMACRO BIT(2)
-#define CORE_ID_1_HAS_TXMACRO BIT(1)
-#define CORE_ID_1_HAS_VAMACRO BIT(0)
+#define CORE_ID_1_HAS_WSAMACRO BIT(0)
+#define CORE_ID_1_HAS_RXMACRO BIT(1)
+#define CORE_ID_1_HAS_TXMACRO BIT(2)
+#define CORE_ID_1_HAS_VAMACRO BIT(3)
#define CDC_VA_TOP_CSR_CORE_ID_2 (0x00C8)
#define CORE_ID_2_REV_MIN GENMASK(7, 4)
#define CORE_ID_2_REV_STEP GENMASK(3, 0)
--
2.51.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ASoC: codecs: va-macro: fix revision checking
2025-10-29 14:43 [PATCH] ASoC: codecs: va-macro: fix revision checking Srinivas Kandagatla
@ 2025-10-30 11:09 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2025-10-30 11:09 UTC (permalink / raw)
To: Srinivas Kandagatla
Cc: perex, tiwai, srini, linux-sound, linux-kernel, linux-arm-msm,
konrad.dybcio, prasad.kumpatla
On Wed, 29 Oct 2025 14:43:35 +0000, Srinivas Kandagatla wrote:
> The revision rework patch seems to have reversed the bit positions for
> macro presence in core_id_1 register.
>
> This broken RB1 and Arduino UnoQ audio.
> Fix these bit positions to correctly reflect the register definition.
>
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: codecs: va-macro: fix revision checking
commit: 20bcda681f8597e86070a4b3b12d1e4f541865d3
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-10-30 11:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-29 14:43 [PATCH] ASoC: codecs: va-macro: fix revision checking Srinivas Kandagatla
2025-10-30 11:09 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox