Re: [PATCH V3 3/8] soundwire: amd: register SoundWire manager dai ops

Mukunda,Vijendar
2023-02-21T21:04:39Z

On 21/02/23 21:29, Pierre-Louis Bossart wrote:
>
>
>> +static const struct snd_soc_dai_ops amd_sdw_dai_ops = {
>> + .hw_params = amd_sdw_hw_params,
> don't you need a .prepare to deal with suspend-resume?
DSP based solution is not implemented yet.
As per our understanding In .prepare () callback, there is
no extra logic needs to be implemented. Because of it,
we have dropped .prepare() callback.

>
>> + .hw_free = amd_sdw_hw_free,
>> + .set_stream = amd_pcm_set_sdw_stream,
>> + .get_stream = amd_get_sdw_stream,
>> +};