On Thu, Jul 31, 2014 at 08:33:14PM +0300, Grygorii Strashko wrote:
From: Murali Karicheri <redacted>
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.