Re: [PATCH 1/4] soundwire: add enum to control device number allocation

From: Pierre-Louis Bossart
Date: Thu Jun 08 2023 - 11:09:41 EST



>> +/**
>> + * enum sdw_dev_num_alloc - Device Number allocation strategies
>> + * @SDW_DEV_NUM_ALLOC_DEFAULT: unconstrained first-come-first-serve allocation,
>> + * using range [1, 11]
>> + * @SDW_DEV_NUM_ALLOC_IDA: IDA-based allocation, using range [ida_min, 11]
>> + */
>> +enum sdw_dev_num_alloc {
>> + SDW_DEV_NUM_ALLOC_DEFAULT = 0,
>> + SDW_DEV_NUM_ALLOC_IDA,
>
> Let default be IDA as 0, am sure we are not setting this field in qcom
> or amd controller, lets retain the defaults please

Not following, QCOM or AMD are NOT using the IDA-based version, so the
default is zero.