All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH linux dev-5.15 0/2] spi: fsi: Fix spurious timeout
@ 2022-05-25 17:02 Eddie James
  2022-05-25 17:02 ` [PATCH linux dev-5.15 1/2] " Eddie James
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Eddie James @ 2022-05-25 17:02 UTC (permalink / raw)
  To: openbmc; +Cc: Eddie James, joel

The driver may return a timeout error even if the status register
indicates that the transfer may proceed. Fix this by restructuring
the polling loop.
Also include a patch to display the error return code when failing
to transfer one message, which would have been very helpful in
debugging this issue.

Eddie James (2):
  spi: fsi: Fix spurious timeout
  spi: core: Display return code when failing to transfer message

 drivers/spi/spi-fsi.c | 12 ++++++------
 drivers/spi/spi.c     |  3 ++-
 2 files changed, 8 insertions(+), 7 deletions(-)

-- 
2.27.0


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

end of thread, other threads:[~2022-05-27  7:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-25 17:02 [PATCH linux dev-5.15 0/2] spi: fsi: Fix spurious timeout Eddie James
2022-05-25 17:02 ` [PATCH linux dev-5.15 1/2] " Eddie James
2022-05-25 17:02 ` [PATCH linux dev-5.15 2/2] spi: core: Display return code when failing to transfer message Eddie James
2022-05-27  7:24 ` [PATCH linux dev-5.15 0/2] spi: fsi: Fix spurious timeout Joel Stanley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.