diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-11-28 14:45:30 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-12-03 22:40:02 +0300 |
commit | a729656697e306595f5349b9176cebea459d7519 (patch) | |
tree | 59b67899da071eabb29850c10e85902fb18e8089 /scripts/gdb/linux/utils.py | |
parent | 0d5102fe85302aa06a3e5fd8e63b09294aed4c48 (diff) | |
download | linux-a729656697e306595f5349b9176cebea459d7519.tar.xz |
platform/x86: i2c-multi-instantiate: Count I2cSerialBus() resources
Instead of relying on hard coded and thus expected number of I2C clients,
count the real amount provided by firmware.
This allows to support non-fixed amount of the slaves.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions