2024-04-08 09:19:04

by Bard Liao

[permalink] [raw]
Subject: [PATCH v2] soundwire: reconcile dp0_prop and dpn_prop

From: Pierre-Louis Bossart <[email protected]>

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 <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Signed-off-by: Bard Liao <[email protected]>
---
Changes in v2:
- Remove unnecessary leading space

---
include/linux/soundwire/sdw.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/include/linux/soundwire/sdw.h b/include/linux/soundwire/sdw.h
index e5d0aa58e7f6..7bb9119f3069 100644
--- a/include/linux/soundwire/sdw.h
+++ b/include/linux/soundwire/sdw.h
@@ -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;
};

--
2.34.1



2024-04-11 09:51:30

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH v2] soundwire: reconcile dp0_prop and dpn_prop


On Mon, 08 Apr 2024 06:38:22 +0000, Bard Liao wrote:
> The definitions for DP0 are missing a set of fields that are required
> to reuse the same configuration code as DPn.
>
>

Applied, thanks!

[1/1] soundwire: reconcile dp0_prop and dpn_prop
commit: 8dfd00f7069c54db78463f2a8a8cb677844fdf1f

Best regards,
--
~Vinod