Revert "spi: zynq_qspi: Use dummy buswidth in dummy byte calculation"
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Thu, 27 Apr 2023 06:53:54 +0000 (08:53 +0200)
committerMichal Simek <michal.simek@amd.com>
Mon, 15 May 2023 07:33:57 +0000 (09:33 +0200)
commit99c1abae411d8e4f6ad2ba8b151bfc8ea163c93a
tree9b8468237495bcb716c1aad186f892b8c3885ad9
parent04d66e76d1624ce0dcc184a007eb2c1583a164e1
Revert "spi: zynq_qspi: Use dummy buswidth in dummy byte calculation"

This reverts commit e09784728689de7949d4cdd559a9590e0bfcc702. The
commit wrongly divides the dummy bytes by dummy bus width to calculate
the dummy bytes. The framework already converts the dummy cycles to the
number of bytes and the controller use the SPI flash command to
determine the dummy cycles via the address width.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Acked-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Link: https://lore.kernel.org/r/20230427065355.7413-1-stefan.herbrechtsmeier-oss@weidmueller.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/spi/zynq_qspi.c