summaryrefslogtreecommitdiffstats
path: root/LICENSES
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-01-16 09:21:09 +0100
committerMark Brown <broonie@kernel.org>2019-01-24 20:03:11 +0100
commit6046f5407ff031b7852ada18141238ce2fe70011 (patch)
tree9ee089b805a9ac4da95b91799454796a45cdc9d5 /LICENSES
parentspi: dw: Fix default polarity of native chipselect (diff)
downloadlinux-6046f5407ff031b7852ada18141238ce2fe70011.tar.xz
linux-6046f5407ff031b7852ada18141238ce2fe70011.zip
spi: cadence: Fix default polarity of native chipselect
The Cadence controller also supports platforms specifying native chipselects. When I enforce the use of high CS for drivers opting in for using GPIO descriptors, I inadvertedly switched the driver to also use active high chip select for native chip selects. Fix this by inverting the logic in the callback for the native chip select. Rename the parameter from "is_high" (which is interpreted as being high when 0, which is confusing, I will not make any drug-related jokes here) to "enabled" which is more intuitive, especially now that it is true when CS is supposed to be enabled. Cc: Wei Yongjun <weiyongjun1@huawei.com> Fixes: cfeefa79dc37 ("spi: cadence: Convert to use CS GPIO descriptors") Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions