diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2019-08-06 02:55:20 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-08-21 11:06:18 +0200 |
commit | 50302fc7b936c1b00e39d4a4f118fb43d3f5ef2c (patch) | |
tree | 2dd4282de5cd465c28e6121ba532bc48cd74bbc0 /tools/iio | |
parent | soundwire: cadence_master: fix divider setting in clock register (diff) | |
download | linux-50302fc7b936c1b00e39d4a4f118fb43d3f5ef2c.tar.xz linux-50302fc7b936c1b00e39d4a4f118fb43d3f5ef2c.zip |
soundwire: intel_init: add kernel module parameter to filter out links
The hardware and ACPI info may report the presence of links that are
not physically enabled (e.g. due to pin-muxing or hardware reworks),
which in turn can result in errors being thrown. This shouldn't be the
case for production devices but will happen a lot on development
devices - even more so when they expose a connector.
Even when the ACPI information is correct, it's useful to be able to
only enable the links that need attention - mostly to filter out
dynamic debug messages.
Add a module parameter to filter out such links, e.g. adding the
following config to a file in /etc/modprobe.d will select the second
and third links only.
options soundwire_intel_init sdw_link_mask=0x6
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190806005522.22642-16-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/iio')
0 files changed, 0 insertions, 0 deletions