spi: s3c64xx: fix inconsistency between binding and driver
authorAndi Shyti <andi.shyti@samsung.com>
Fri, 10 Feb 2017 02:20:19 +0000 (11:20 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 13 Feb 2017 18:47:38 +0000 (18:47 +0000)
commit379f831a927817c130a62e3ca0082ae685557324
treecc6f7417cee9b31b103bc7001a1df140591044e0
parentfafd67940774733fa97f4b09412aea6981b82e0a
spi: s3c64xx: fix inconsistency between binding and driver

Commit a92e7c3d82a1 ("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: a92e7c3d82a1 ("spi: s3c64xx: consider the case when the CS line is not connected")
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
drivers/spi/spi-s3c64xx.c