21 Apr
2018
21 Apr
'18
3:59 p.m.
+/**
- snd_soc_dai_set_sdw_stream() - Configures a DAI for SDW stream operation
- @dai: DAI
- @stream: STREAM
- @direction: Stream direction(Playback/Capture)
- SoundWire subsystem doesn't have a notion of direction and we reuse
- the ASoC stream direction to configure sink/source ports.
- Playback maps to source on the TX and sink on Rx. Vice-versa for Capture.
this is just confusing...
This should be something like "use Playback for source ports and Capture for sink ports".