diff options
author | Sanyog Kale <sanyog.r.kale@intel.com> | 2018-04-26 18:38:33 +0530 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-05-11 21:47:06 +0530 |
commit | 5c3eb9f7bdf1f141e051605b7b4225b1e83820a2 (patch) | |
tree | 55a8ad571469dcb5905d8c09f32610727e589fde /include/linux/soundwire | |
parent | 99b8a5d608a64254f22483f6b67a98f26d3eac8c (diff) | |
download | linux-5c3eb9f7bdf1f141e051605b7b4225b1e83820a2.tar.gz linux-5c3eb9f7bdf1f141e051605b7b4225b1e83820a2.tar.bz2 linux-5c3eb9f7bdf1f141e051605b7b4225b1e83820a2.zip |
soundwire: Add stream configuration APIs
Add APIs for prepare, enable, disable and de-prepare stream.
Signed-off-by: Sanyog Kale <sanyog.r.kale@intel.com>
Signed-off-by: Shreyas NC <shreyas.nc@intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux/soundwire')
-rw-r--r-- | include/linux/soundwire/sdw.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/soundwire/sdw.h b/include/linux/soundwire/sdw.h index 61d671271592..399cfb295593 100644 --- a/include/linux/soundwire/sdw.h +++ b/include/linux/soundwire/sdw.h @@ -791,6 +791,10 @@ int sdw_stream_remove_master(struct sdw_bus *bus, struct sdw_stream_runtime *stream); int sdw_stream_remove_slave(struct sdw_slave *slave, struct sdw_stream_runtime *stream); +int sdw_prepare_stream(struct sdw_stream_runtime *stream); +int sdw_enable_stream(struct sdw_stream_runtime *stream); +int sdw_disable_stream(struct sdw_stream_runtime *stream); +int sdw_deprepare_stream(struct sdw_stream_runtime *stream); /* messaging and data APIs */ |