Re: [RFC PATCH v2 3/6] hw/i2c: support multiple masters

2022-06-01 Thread Corey Minyard
On Wed, Jun 01, 2022 at 11:08:28PM +0200, Klaus Jensen wrote: > From: Klaus Jensen > > Allow slaves to master the bus by registering a bottom halve. If the bus > is busy, the bottom halve is queued up. When a slave has succesfully ^ half > mastered the bus, the bottom halve

[RFC PATCH v2 3/6] hw/i2c: support multiple masters

2022-06-01 Thread Klaus Jensen
From: Klaus Jensen Allow slaves to master the bus by registering a bottom halve. If the bus is busy, the bottom halve is queued up. When a slave has succesfully mastered the bus, the bottom halve is scheduled. Signed-off-by: Klaus Jensen --- hw/i2c/core.c| 34 ++