[alsa-devel] [PATCH 2/6] soundwire: stream: update state machine and add state checks
Pierre-Louis Bossart
pierre-louis.bossart at linux.intel.com
Fri Jan 10 17:30:29 CET 2020
>> - int sdw_prepare_stream(struct sdw_stream_runtime * stream);
>> + int sdw_prepare_stream(struct sdw_stream_runtime * stream, bool resume);
>
> so what does the additional argument of resume do..?
>
>> diff --git a/drivers/soundwire/stream.c b/drivers/soundwire/stream.c
>> index 178ae92b8cc1..6aa0b5d370c0 100644
>> --- a/drivers/soundwire/stream.c
>> +++ b/drivers/soundwire/stream.c
>> @@ -1553,8 +1553,18 @@ int sdw_prepare_stream(struct sdw_stream_runtime *stream)
>
> and it is not modified here, so is the doc correct or this..?
the doc is correct and the code is updated in
[PATCH 4/6] soundwire: stream: do not update parameters during
DISABLED-PREPARED transition
More information about the Alsa-devel
mailing list