On Wed, 11 Dec 2024 14:54:47 -0600 David Lechner <dlechner@xxxxxxxxxxxx> wrote: > Replace use of storagebits with realbits for determining the number of > bytes needed for SPI transfers. > > When adding SPI offload support, storagebits will no longer be > guaranteed to be the "best fit" for 16-bit chips so we can no longer > rely on storagebits being the correct size expected by the SPI > framework. Instead, derive the correct size from realbits since it will > always be correct even when SPI offloads are used. A more specific example with widths etc might be useful addition to this commit message. > > Signed-off-by: David Lechner <dlechner@xxxxxxxxxxxx> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>