summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-boardinfo.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2024-03-02 21:39:13 +0100
committerWolfram Sang <wsa+renesas@sang-engineering.com>2024-03-04 21:44:56 +0100
commit8821c8376993c271a77d241a4e657099f7400974 (patch)
tree7de5637244aa1d46a7cf25abbe15e5d114be1fbf /drivers/i2c/i2c-boardinfo.c
parenteb52034436a58e742ceea0dcf2f003f83a3449a5 (diff)
downloadlinux-stable-8821c8376993c271a77d241a4e657099f7400974.tar.gz
linux-stable-8821c8376993c271a77d241a4e657099f7400974.tar.bz2
linux-stable-8821c8376993c271a77d241a4e657099f7400974.zip
i2c: smbus: Prepare i2c_register_spd for usage on muxed segments
If this is an adapter on a muxed bus segment, assume that each segment is connected to a subset of the (> 8) overall memory slots. In this case let's probe the maximum of 8 slots, however stop if the number of overall populated slots is reached. If we're not on a muxed segment and the total number of slots is > 8, then warn because then not all SPD eeproms can be addressed. Presumably the bus is muxed, but the mux config is missing. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> [wsa: removed a superfluous printout] Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'drivers/i2c/i2c-boardinfo.c')
0 files changed, 0 insertions, 0 deletions