Re: [PATCH v2] Revert "mtd: spi-nor: core: replace dummy buswidth from addr to data"
From: Miquel Raynal
Date: Wed Jan 15 2025 - 12:46:06 EST
On Wed, 15 Jan 2025 13:41:56 +0000, Pratyush Yadav wrote:
> This reverts commit 98d1fb94ce75f39febd456d6d3cbbe58b6678795.
>
> The commit uses data nbits instead of addr nbits for dummy phase. This
> causes a regression for all boards where spi-tx-bus-width is smaller
> than spi-rx-bus-width. It is a common pattern for boards to have
> spi-tx-bus-width == 1 and spi-rx-bus-width > 1. The regression causes
> all reads with a dummy phase to become unavailable for such boards,
> leading to a usually slower 0-dummy-cycle read being selected.
>
> [...]
Applied to mtd/fixes, thanks!
[1/1] Revert "mtd: spi-nor: core: replace dummy buswidth from addr to data"
commit: d15638bf76ad47874ecb5dc386f0945fc0b2a875
Patche(s) will be available within hours on:
mtd/linux.git
Kind regards,
Miquèl