Re: [PATCH] spi: synquacer: remove SPI_TX_BYTE handling

2023-06-11 Thread Jagan Teki
On Wed, May 24, 2023 at 1:03 PM Masahisa Kojima wrote: > > Current code expects that SPI_TX_BYTE is single bit mode > but it is wrong. It indicates byte program mode, > not single bit mode. > > If SPI_TX_DUAL, SPI_TX_QUAD and SPI_TX_OCTAL bits are not set, > the default transfer bus width is singl

Re: [PATCH] spi: synquacer: remove SPI_TX_BYTE handling

2023-05-24 Thread Ilias Apalodimas
On Wed, 24 May 2023 at 10:33, Masahisa Kojima wrote: > > Current code expects that SPI_TX_BYTE is single bit mode > but it is wrong. It indicates byte program mode, > not single bit mode. > > If SPI_TX_DUAL, SPI_TX_QUAD and SPI_TX_OCTAL bits are not set, > the default transfer bus width is single

[PATCH] spi: synquacer: remove SPI_TX_BYTE handling

2023-05-24 Thread Masahisa Kojima
Current code expects that SPI_TX_BYTE is single bit mode but it is wrong. It indicates byte program mode, not single bit mode. If SPI_TX_DUAL, SPI_TX_QUAD and SPI_TX_OCTAL bits are not set, the default transfer bus width is single bit. Signed-off-by: Masahisa Kojima --- drivers/spi/spi-synquace