The SoundWire and DisCo specifications do not define Master data ports or related properties. Data ports are only defined for Slave devices, so remove the unused member in properties. Credits: this patch is based on an earlier internal contribution by Vinod Koul, Sanyog Kale, Shreyas Nc and Hardik Shah.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -377,7 +377,6 @@ struct sdw_slave_prop { · 376 unmodified lines | |||
| 377 | * @dynamic_frame: Dynamic frame supported | 377 | * @dynamic_frame: Dynamic frame supported |
| 378 | * @err_threshold: Number of times that software may retry sending a single | 378 | * @err_threshold: Number of times that software may retry sending a single |
| 379 | * command | 379 | * command |
| 380 | * @dpn_prop: Data Port N properties | ||
| 381 | */ | 380 | */ |
| 382 | struct sdw_master_prop { | 381 | struct sdw_master_prop { |
| 383 | u32 revision; | 382 | u32 revision; |
| @@ -393,7 +392,6 @@ struct sdw_master_prop { · 9 unmodified lines | |||
| 393 | u32 default_col; | 392 | u32 default_col; |
| 394 | bool dynamic_frame; | 393 | bool dynamic_frame; |
| 395 | u32 err_threshold; | 394 | u32 err_threshold; |
| 396 | struct sdw_dpn_prop *dpn_prop; | ||
| 397 | }; | 395 | }; |
| 398 | 396 | ||
| 399 | int sdw_master_read_prop(struct sdw_bus *bus); | 397 | int sdw_master_read_prop(struct sdw_bus *bus); |