On 9/19/2024 2:21 PM, Mark Brown wrote:
On Wed, Sep 18, 2024 at 04:20:35PM +0530, Raju Rangoju wrote:
AMD SPI0 controller supports quad mode only for read operations and has
limited support for quad mode writes. And, the AMD HID2 SPI controller
supports DMA read, allowing for up to 4 KB of data to be read in single
transaction. Update the SPI-MEM support functions to reflect these hardware
capabilities.
/* bus width is number of IO lines used to transmit */
- if (op->cmd.buswidth > 1 || op->addr.buswidth > 4 ||
- op->data.buswidth > 4 || op->data.nbytes > AMD_SPI_MAX_DATA)
So this code you added earlier in the series is clearly buggy... this
whole change should've been part of that patch, and the addidion of the
patch adding the new HID.
Sure, I will take care of this in V2.