]> git.ipfire.org Git - people/arne_f/kernel.git/commit
soundwire: Fix incorrect exit after configuring stream
authorShreyas NC <shreyas.nc@intel.com>
Fri, 27 Jul 2018 09:14:09 +0000 (14:44 +0530)
committerVinod Koul <vkoul@kernel.org>
Mon, 27 Aug 2018 04:19:48 +0000 (09:49 +0530)
commit3fef1a2259c556cce34df2791688cb3001f81c92
treea48864594dd14faa7d0fda5a7a1319ecd14632bc
parent0aebe40bae6cf5652fdc3d05ecee15fbf5748194
soundwire: Fix incorrect exit after configuring stream

In sdw_stream_add_master() after the Master ports are configured,
the stream is released incorrectly.

So, fix it by avoiding stream release after configuring the Master
for the stream.
While at it, rename the label appropriately.

Signed-off-by: Shreyas NC <shreyas.nc@intel.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/stream.c