mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
spi: s3c64xx: fix inconsistency between binding and driver
Commita92e7c3d82("spi: s3c64xx: consider the case when the CS line is not connected") introduced an inconsistency between the binding, where the disconnected CS line was marked as 'no-cs-readback', and the driver. The driver is erroneously checking for that attribute with property name of 'broken-cs'. Check for 'no-cs-readback' in the driver as well. Fixes:a92e7c3d82("spi: s3c64xx: consider the case when the CS line is not connected") Signed-off-by: Andi Shyti <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
This commit is contained in:
parent
fafd679407
commit
379f831a92
1 changed files with 1 additions and 1 deletions
|
|
@ -1003,7 +1003,7 @@ static struct s3c64xx_spi_info *s3c64xx_spi_parse_dt(struct device *dev)
|
|||
sci->num_cs = temp;
|
||||
}
|
||||
|
||||
sci->no_cs = of_property_read_bool(dev->of_node, "broken-cs");
|
||||
sci->no_cs = of_property_read_bool(dev->of_node, "no-cs-readback");
|
||||
|
||||
return sci;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue