summaryrefslogtreecommitdiffstats
path: root/crypto/proc.c
diff options
context:
space:
mode:
authorQipan Li <Qipan.Li@csr.com>2014-09-02 17:01:01 +0800
committerMark Brown <broonie@kernel.org>2014-09-04 20:20:15 +0100
commit7850cdfc8028cc7d522c032f64c62c1c01e85875 (patch)
treefe03078fee1cc8700136b73f46a4abd71c823efd /crypto/proc.c
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff)
downloadlinux-stable-7850cdfc8028cc7d522c032f64c62c1c01e85875.tar.gz
linux-stable-7850cdfc8028cc7d522c032f64c62c1c01e85875.tar.bz2
linux-stable-7850cdfc8028cc7d522c032f64c62c1c01e85875.zip
spi: sirf: correct spi gpio and hardware chipselect behaviour
the old codes check the cs-gpios, if the gpio number is 0 like: <&gpio, 0, 0>, the driver will use the only hardware chipselect. this is wrong because of_spi_register_master() can read property cs-gpios from device node and set the spi master's cs number and gpio cs automatically based on whether the cs-gpios is valid. this patch fixes the beviour of CSR spi driver and move to a core level supported way. Signed-off-by: Qipan Li <Qipan.Li@csr.com> Signed-off-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'crypto/proc.c')
0 files changed, 0 insertions, 0 deletions