mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
ASoC: codecs: va-macro: fix revision checking
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: 281c97376c ("ASoC: codecs: va-macro: Rework version checking")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Link: https://patch.msgid.link/20251029144336.356816-1-srinivas.kandagatla@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
2b4d53eb5c
commit
20bcda681f
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user