U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] spi: fsl_espi: fix din offset
@ 2026-03-24 17:02 Tomas Alvarez Vanoli
  2026-03-24 17:02 ` [PATCH 1/1] " Tomas Alvarez Vanoli
  2026-04-27 12:33 ` [PATCH 0/1] " Michael Walle
  0 siblings, 2 replies; 5+ messages in thread
From: Tomas Alvarez Vanoli @ 2026-03-24 17:02 UTC (permalink / raw)
  To: u-boot; +Cc: trini, chuanhua.han, Tomas Alvarez Vanoli

Hello,

While working on an old T1040-based board, I ran into issues when reading data
with spi_xfer. It seems to me that the driver is copying the data back to the
caller at the wrong addresses. I am not entirely sure what was the intention
with the original code as far as I can tell.

With my suggested change, at least a small tx of 3 bytes works correctly and I
can see the expected data in the buffer.

I've really only tested this with a 2016 version of u-boot but the code has not
changed regarding this since then, and I suspect that there's not a lot of
boards left using this driver to read spi data in u-boot :)

Best regards,
Tomas

Tomas Alvarez Vanoli (1):
  spi: fsl_espi: fix din offset

 drivers/spi/fsl_espi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.47.3


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-04-28  9:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-24 17:02 [PATCH 0/1] spi: fsl_espi: fix din offset Tomas Alvarez Vanoli
2026-03-24 17:02 ` [PATCH 1/1] " Tomas Alvarez Vanoli
2026-04-27 12:33 ` [PATCH 0/1] " Michael Walle
2026-04-27 15:00   ` Tomas Alvarez Vanoli
2026-04-28  9:59     ` Michael Walle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox