diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2021-03-02 16:27:20 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-03-22 17:46:44 +0530 |
commit | bb877bebae0f38048e844aad9ed93127a5eecc5c (patch) | |
tree | fd744bea5d774618341436286509864ea00bd16b /drivers/soundwire | |
parent | 6b8caa6f9d3a428022d41913bf9660325599dac1 (diff) | |
download | linux-stable-bb877bebae0f38048e844aad9ed93127a5eecc5c.tar.gz linux-stable-bb877bebae0f38048e844aad9ed93127a5eecc5c.tar.bz2 linux-stable-bb877bebae0f38048e844aad9ed93127a5eecc5c.zip |
soundwire: intel: add master quirks for bus clash and parity
Now that we have declarations and bus support, add quirks for Intel
platforms.
Co-developed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Link: https://lore.kernel.org/r/20210302082720.12322-4-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire')
-rw-r--r-- | drivers/soundwire/intel.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/soundwire/intel.c b/drivers/soundwire/intel.c index a401e270a47f..d2254ee2fee2 100644 --- a/drivers/soundwire/intel.c +++ b/drivers/soundwire/intel.c @@ -1286,6 +1286,9 @@ static int sdw_master_read_intel_prop(struct sdw_bus *bus) if (quirk_mask & SDW_INTEL_QUIRK_MASK_BUS_DISABLE) prop->hw_disabled = true; + prop->quirks = SDW_MASTER_QUIRKS_CLEAR_INITIAL_CLASH | + SDW_MASTER_QUIRKS_CLEAR_INITIAL_PARITY; + return 0; } |