soundwire: intel: add sdw_stream_setup helper for .startup callback
authorRander Wang <rander.wang@linux.intel.com>
Sat, 15 Feb 2020 01:47:39 +0000 (19:47 -0600)
committerVinod Koul <vkoul@kernel.org>
Tue, 18 Feb 2020 08:39:52 +0000 (14:09 +0530)
commit5e7484d01928030ee348cac0b55973781af4c271
tree9af04fb5491a7f2c4d949a11a3cf9fab9ac1b362
parent973a842940bceadcdfe9c77a1fc98ba8526ace0c
soundwire: intel: add sdw_stream_setup helper for .startup callback

The sdw stream is allocated and stored in dai to share the sdw runtime
information.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
Acked-by: Sanyog Kale <sanyog.r.kale@intel.com>
Link: https://lore.kernel.org/r/20200215014740.27580-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/intel.c