diff options
author | Murali Karicheri <m-karicheri2@ti.com> | 2014-07-31 20:33:14 +0300 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-07-31 20:35:32 +0100 |
commit | 7480e755c6e6e890200e8998597e8d0baa51fa8e (patch) | |
tree | a8f0da48dffdc24fe0958843848621457d415bfe /drivers/spi/spi-gpio.c | |
parent | 7171511eaec5bf23fb06078f59784a3a0626b38f (diff) |
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/spi/spi-gpio.c')
0 files changed, 0 insertions, 0 deletions