diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-09-20 21:32:06 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-09-23 11:59:30 +0200 |
commit | 0f9138e75753511572f67b1bf943224d504ca170 (patch) | |
tree | a9fc89363753fd0ad3a31ad8525164d2749a3599 /kernel/range.c | |
parent | soundwire: enable Data Port test modes (diff) | |
download | linux-0f9138e75753511572f67b1bf943224d504ca170.tar.xz linux-0f9138e75753511572f67b1bf943224d504ca170.zip |
soundwire: intel: enable test modes
This patch adds debugfs support to override the Master and Slave data
modes. The settings only take effect prior to a new stream being
prepared/enabled, or on resume.
The test mode can be set to verify data integrity and detect bus
clashes, but can only be used to test capture paths. In this case the
input generated by a Slave source port is replaced by a fixed or
cyclical patterns.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20200920193207.31241-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'kernel/range.c')
0 files changed, 0 insertions, 0 deletions