]> Git Repo - linux.git/commit
i2c: i801: Use a different adapter-name for IDF adapters
authorHans de Goede <[email protected]>
Mon, 12 Aug 2024 20:39:48 +0000 (22:39 +0200)
committerAndi Shyti <[email protected]>
Mon, 9 Sep 2024 22:36:56 +0000 (00:36 +0200)
commit43457ada98c824f310adb7bd96bd5f2fcd9a3279
tree9d6f21e1751d0ec551059726750f2ed8dfebca19
parent60f68597024d5af727c8a5f5f3b11f246265192b
i2c: i801: Use a different adapter-name for IDF adapters

On chipsets with a second 'Integrated Device Function' SMBus controller use
a different adapter-name for the second IDF adapter.

This allows platform glue code which is looking for the primary i801
adapter to manually instantiate i2c_clients on to differentiate
between the 2.

This allows such code to find the primary i801 adapter by name, without
needing to duplicate the PCI-ids to feature-flags mapping from i2c-i801.c.

Reviewed-by: Pali Rohár <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
drivers/i2c/busses/i2c-i801.c
This page took 0.049985 seconds and 4 git commands to generate.