[PATCH 3/7] ASoC: codecs: wcd938x: add basic driver

Srinivas Kandagatla srinivas.kandagatla at linaro.org
Mon Mar 15 11:04:56 CET 2021



On 12/03/2021 15:34, Mark Brown wrote:
> On Thu, Mar 11, 2021 at 05:34:12PM +0000, Srinivas Kandagatla wrote:
> 
>> +static int wcd9380_update_status(struct sdw_slave *slave,
>> +				 enum sdw_slave_status status)
>> +{
>> +	return 0;
>> +}
>> +
>> +static int wcd9380_port_prep(struct sdw_slave *slave,
>> +			     struct sdw_prepare_ch *prepare_ch,
>> +			     enum sdw_port_prep_ops state)
>> +{
>> +	return 0;
>> +}
> 
> If these can legitimately be empty I'd expect the framework to support
> them being omitted.

One of them is not mandatory, I will revisit this before sending out 
next version.

thanks,
srini
> 


More information about the Alsa-devel mailing list