# Re: \[PATCH 1/2\] spi: davinci: fix to support more than 2 chip selects

- From: Mark Brown \<hidden\>
- Date: 2014-07-31 19:35:46 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2014/07/8094943
- Thread: https://ratatoskr.run/linux-arm-kernel/2014/07/8094943/t.md

```text
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.

Applied, thanks.
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-devicetree/2014/07/8094943/attachment/0) (application/pgp-signature, 819 bytes)
