From 7480e755c6e6e890200e8998597e8d0baa51fa8e Mon Sep 17 00:00:00 2001 From: Murali Karicheri Date: Thu, 31 Jul 2014 20:33:14 +0300 Subject: [PATCH] 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 Signed-off-by: Grygorii Strashko Signed-off-by: Mark Brown --- Reading git-format-patch failed