soundwire: stream: fix support for multiple Slaves on the same link
authorRander Wang <rander.wang@intel.com>
Tue, 14 Jan 2020 23:52:26 +0000 (17:52 -0600)
committerVinod Koul <vkoul@kernel.org>
Thu, 13 Feb 2020 10:27:37 +0000 (15:57 +0530)
commit60835022e196de1a4d73c249e99f34b7204ca267
tree21571c8c1a5cd68db96e128d23a3453332777be6
parentc7a8f049b828dc8e01acd56911a1816b7725d9c3
soundwire: stream: fix support for multiple Slaves on the same link

The existing code will unconditionally return after dealing with the
first Slave on a link. This return should only happen when there is
an error case.

Tested on Comet Lake platform.

Signed-off-by: Rander Wang <rander.wang@intel.com>
Link: https://lore.kernel.org/r/20200114235227.14502-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/stream.c