diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2022-11-23 16:54:24 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-11-28 13:04:24 +0000 |
commit | e45875168d19051ebf0fc4b091da6256f3ea3669 (patch) | |
tree | 163263baed456ecc48d067e1511570c96f011b36 /include/sound/pcm-indirect.h | |
parent | d695d089e35e28f3f0ed4595a242922cc28f9b20 (diff) | |
download | linux-e45875168d19051ebf0fc4b091da6256f3ea3669.tar.gz |
sound: sdw: Add hw_params to SoundWire config helper function
The vast majority of the current users of the SoundWire framework
have almost identical code for converting from hw_params to SoundWire
configuration. Whilst complex devices might require more, it is very
likely that most new devices will follow the same pattern. Save a
little code by factoring this out into a helper function.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20221123165432.594972-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/pcm-indirect.h')
0 files changed, 0 insertions, 0 deletions