On Wed, Dec 18, 2024 at 12:16:18AM +0000, Prabhakar wrote: > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx> > > Implement bus recovery by reinitializing the hardware to reset the bus > state and generating 9 clock cycles (and a stop condition) to release > the SDA line. > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx> I need to ask a high level question first: why don't you use the general scl_recovery algorithm? We have stuff like get/set_scl/sda as well as (un)prepare_recovery. Won't that do?
Attachment:
signature.asc
Description: PGP signature