soundwire: reconcile dp0_prop and dpn_prop
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 8 Apr 2024 06:38:22 +0000 (06:38 +0000)
committerVinod Koul <vkoul@kernel.org>
Thu, 11 Apr 2024 09:47:16 +0000 (15:17 +0530)
The definitions for DP0 are missing a set of fields that are required
to reuse the same configuration code as DPn.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20240408063822.421963-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
include/linux/soundwire/sdw.h

index e5d0aa58e7f6c96ad6bb54eaed1e372940c6950a..7bb9119f30699b09250b2c5db4af3e5516bc9ee4 100644 (file)
@@ -235,6 +235,7 @@ enum sdw_clk_stop_mode {
  * @BRA_flow_controlled: Slave implementation results in an OK_NotReady
  * response
  * @simple_ch_prep_sm: If channel prepare sequence is required
+ * @ch_prep_timeout: Port-specific timeout value, in milliseconds
  * @imp_def_interrupts: If set, each bit corresponds to support for
  * implementation-defined interrupts
  *
@@ -249,6 +250,7 @@ struct sdw_dp0_prop {
        u32 *words;
        bool BRA_flow_controlled;
        bool simple_ch_prep_sm;
+       u32 ch_prep_timeout;
        bool imp_def_interrupts;
 };