Skip to content

Commit ae6a0f5

Browse files
charleskeepaxvinodkoul
authored andcommitted
soundwire: Correct some property names
The DisCo properties should be mipi-sdw-paging-supported and mipi-sdw-bank-delay-supported, with an 'ed' on the end. Correct the property names used in sdw_slave_read_prop(). The internal flag bank_delay_support is currently unimplemented, so that being read wrong does not currently affect anything. The two existing users for this helper and the paging_support flag rt1320-sdw.c and rt721-sdca-sdw.c both manually set the flag in their slave properties, thus are not affected by this bug either. Fixes: 56d4fe3 ("soundwire: Add MIPI DisCo property helpers") Signed-off-by: Charles Keepax <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 393350c commit ae6a0f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/soundwire/mipi_disco.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,10 +451,10 @@ int sdw_slave_read_prop(struct sdw_slave *slave)
451451
"mipi-sdw-highPHY-capable");
452452

453453
prop->paging_support = mipi_device_property_read_bool(dev,
454-
"mipi-sdw-paging-support");
454+
"mipi-sdw-paging-supported");
455455

456456
prop->bank_delay_support = mipi_device_property_read_bool(dev,
457-
"mipi-sdw-bank-delay-support");
457+
"mipi-sdw-bank-delay-supported");
458458

459459
device_property_read_u32(dev,
460460
"mipi-sdw-port15-read-behavior", &prop->p15_behave);

0 commit comments

Comments
 (0)