]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitde21d22d137a4e997fcc53509ef471d18d4bb955
treecc6f7417cee9b31b103bc7001a1df140591044e0
parent61e97e732ac8f4496397abff47ad11acd8290ca8
spi: s3c64xx: fix inconsistency between binding and driver

Commit 81b77ca40a42 ("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: 81b77ca40a42 ("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