Re: [PATCH 2/4] i2c: pasemi: Improve error recovery

2025-03-22 Thread Sven Peter
Hi Andi, Thanks for the review! Will send a v2 after -rc1 is out. On Thu, Mar 20, 2025, at 01:17, Andi Shyti wrote: > Hi Sven, > > On Sat, Feb 22, 2025 at 01:38:34PM +, Sven Peter via B4 Relay wrote: >> The hardware (supposedly) has a 25ms timeout for clock stretching >> and the driver uses 1

Re: [PATCH 2/4] i2c: pasemi: Improve error recovery

2025-03-19 Thread Andi Shyti
Hi Sven, On Sat, Feb 22, 2025 at 01:38:34PM +, Sven Peter via B4 Relay wrote: > The hardware (supposedly) has a 25ms timeout for clock stretching > and the driver uses 100ms which should be plenty. Can we add this lines as a comment to the define you are adding? > The error > reocvery itself

[PATCH 2/4] i2c: pasemi: Improve error recovery

2025-02-22 Thread Sven Peter via B4 Relay
From: Hector Martin The hardware (supposedly) has a 25ms timeout for clock stretching and the driver uses 100ms which should be plenty. The error reocvery itself is however lacking. Add handling for all the missing error condition, and better recovery in pasemi_smb_clear(). Also move the timeout