diff options
author | Heikki Krogerus <[email protected]> | 2019-09-20 13:02:33 +0300 |
---|---|---|
committer | Andy Shevchenko <[email protected]> | 2019-09-20 17:57:07 +0300 |
commit | 24a8d78a9affb63e5ced313ccde6888fe96edc6e (patch) | |
tree | 76947698687217e0b41d8f58b290a9d7d6381aaa /lib/test_overflow.c | |
parent | f110d252ae7985def3cd0fd8b03979180a8633a0 (diff) |
platform/x86: i2c-multi-instantiate: Derive the device name from parent
When naming the new devices, instead of using the ACPI ID in
the name as base, using the parent device's name. That makes
it possible to support multiple multi-instance i2c devices
of the same type in the same system.
This fixes an issue seen on some Intel Kaby Lake based
boards:
sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-INT3515-tps6598x.0'
Fixes: 2336dfadfb1e ("platform/x86: i2c-multi-instantiate: Allow to have same slaves")
Cc: [email protected]
Signed-off-by: Heikki Krogerus <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions