On 16.11.2023 15:31, Heiner Kallweit wrote: > There are systems with more than 8 memory slots where the i2c bus for > SPD is multiplexed. i2c_register_spd() isn't used yet on such systems, > but it's planned. So we need to extend ee1004 accordingly. > With this extension a maximum of 8 i2c busses is supported. > > I don't have such a system for testing, therefore I just verified > that the driver still works on a system with a single i2c bus. > > For the sake of simplicity the extension uses the existing global > mutex to protect access on all busses. This could be improved, > but we support 8 busses only, and SPD data is small and rarely > accessed, so it shouldn't be a problem. > > Signed-off-by: Heiner Kallweit <hkallweit1@xxxxxxxxx> > --- > v2: > - simplify code by using i2c_set/get_clientdata > --- Patch has been applied by Greg and can be set to "handled elsewhere" in i2c patchwork.