Re: [PATCH v3 8/8] ASoC: codecs: add Qualcomm Tambora (WCD9378) SDCA codec
From: Srinivas Kandagatla
Date: Tue Sep 15 2026 - 16:55:40 EST
On 9/15/26 7:46 PM, Mark Brown wrote:
> On Tue, Sep 15, 2026 at 05:56:50PM +0100, Srinivas Kandagatla wrote:
>> Add support for the Qualcomm Tambora (WCD9378) headset codec in SDCA
>> mode over SoundWire. On ARM/DT platforms without ACPI/DisCo firmware
>> the SDCA topology and SoundWire port properties are supplied as static
>> data through the codec driver.
>
>> +static struct sdca_control entity_ge35_controls[] = {
>> + { .sel = 0x1, .mode = SDCA_ACCESS_MODE_RW, .layers = SDCA_ACCESS_LAYER_CLASS, .cn_list = 0x1,
>> + .interrupt_position = SDCA_NO_INTERRUPT,
>> + .range = { .cols = 0x2, .rows = 0x4, .data = range_ge35_mode_data },
>> + .label = SDCA_CTL_SELECTED_MODE_NAME },
>
> Do all the other controls have interrupts, or should there be a lot
> more SDCA_NO_INTERRUPT going on? I see that's defined as -1.
Thanks Mark for spotting this.
Yes there are 57 more entries which do not have interrupts we should
mark them as SDCA_NO_INTERRUPT instead of leaving it zero which becomes
valid. That we make it inline with the parser which treats no property
as SDCA_NO_INTERRUPT instead of zero.
I will fix them in next version.
--srini