diff options
author | Murali Karicheri <m-karicheri2@ti.com> | 2014-07-31 17:33:14 (GMT) |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-07-31 19:35:32 (GMT) |
commit | 7480e755c6e6e890200e8998597e8d0baa51fa8e (patch) | |
tree | a8f0da48dffdc24fe0958843848621457d415bfe /drivers/remoteproc | |
parent | 7171511eaec5bf23fb06078f59784a3a0626b38f (diff) | |
download | linux-7480e755c6e6e890200e8998597e8d0baa51fa8e.tar.xz |
spi: davinci: fix to support more than 2 chip selects
Currently, the driver defines SPI_MAX_CHIPSELECT as 2 and
use per device array bytes_per_word based on this. This breaks
if num_chipselect per device is greater than 2. This patch
fix this and allocate memory for this array based on
num_chipselect.
It's preparation patch to enable GPIO CS feature for
Davinci SPI.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/remoteproc')
0 files changed, 0 insertions, 0 deletions