soundwire: stream: don't program mockup device ports
authorBard Liao <yung-chuan.liao@linux.intel.com>
Wed, 14 Jul 2021 03:22:07 +0000 (11:22 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 2 Aug 2021 05:38:22 +0000 (11:08 +0530)
commit24f08b3aa5a5e42977c5a1d711d5cb7d9adbd94d
treeb7513a34d22f4edabbefcf6a7c3d6c4d07b1ebcf
parent7fae3cfb7007038a320db43ddffb7688388a0260
soundwire: stream: don't program mockup device ports

Mockup devices don't take part in command/control operations and their
virtual ports shall not be programmed.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Link: https://lore.kernel.org/r/20210714032209.11284-9-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/stream.c