On 7/22/2024 10:47 AM, Pierre-Louis Bossart wrote:
The main issue I have with this patch is the continued confusion in
variable naming between 'stream' and 'direction'. It's problematic on
multiple platforms where a stream is typically identified by a DMA
channel or ID of some sort. There's also the SoundWire 'stream' which
has nothing to do with PCM devices. In the end people end-up drowning in
too many 'streams', no one knows if the code refers to the data flow or
the data direction.
Oh yes, so I'm not the only one :D, I also would very much prefer if
there was 'direction' instead of 'stream'.