Commit 5d3ccd3
ASoC: codecs: wcd939x: Use simple defines for chipid register value
The value used to identify chip variant is not an enumeration, but raw
value used to compare registers with. The 'enum' is not used in the
code at all, so simplify and make it a raw hex value define, so
intention will be explicit.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250616-asoc-wcd93xx-enum-v1-3-a20a1b538509@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>1 parent 100877d commit 5d3ccd3
1 file changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | 91 | | |
94 | 92 | | |
95 | 93 | | |
| |||
1483 | 1481 | | |
1484 | 1482 | | |
1485 | 1483 | | |
1486 | | - | |
| 1484 | + | |
1487 | 1485 | | |
1488 | 1486 | | |
1489 | 1487 | | |
| |||
3065 | 3063 | | |
3066 | 3064 | | |
3067 | 3065 | | |
3068 | | - | |
| 3066 | + | |
3069 | 3067 | | |
3070 | 3068 | | |
3071 | 3069 | | |
| |||
3075 | 3073 | | |
3076 | 3074 | | |
3077 | 3075 | | |
3078 | | - | |
| 3076 | + | |
3079 | 3077 | | |
3080 | 3078 | | |
3081 | 3079 | | |
| |||
0 commit comments