[PATCH] soundwire: stream: only change state if needed

Srinivas Kandagatla srinivas.kandagatla at linaro.org
Tue Mar 17 14:04:17 CET 2020



On 17/03/2020 12:22, Pierre-Louis Bossart wrote:
> 
> The change below would be an error case for Intel, so it's probably 
> better if we go with your suggestion. You have a very specific state 
> handling due to your power amps and it's probably better to keep it 
> platform-specific.

Just trying to understand, why would it be error for Intel case?

IMO, If stream state is SDW_STREAM_ENABLED that also implicit that its 
prepared too. Similar thing with SDW_STREAM_DEPREPARED.
Isn't it?

--srini




More information about the Alsa-devel mailing list