diff options
author | Jack Chen <zenghuchen@google.com> | 2023-01-06 00:29:52 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2023-02-26 01:03:51 +0300 |
commit | f195c470f2c2cf3737b2b157a5a2dbe182e374fa (patch) | |
tree | 66ea9188b09c2ee45c70f37fd35522927bd3d814 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1b929c02afd37871d5afb9d498426f83432e71c2 (diff) | |
download | linux-f195c470f2c2cf3737b2b157a5a2dbe182e374fa.tar.xz |
i3c: transfer pid from boardinfo to device info
I3C device PID could be defined in device tree and stored in
i3c_dev_boardinfo. It should be passed to i3c_device_info when
allocating a i3c_dev_desc.
Rational behind this change is: when users decide to use SETDASA to
assign a dynamic address with exactly the original static address, in
step of i3c_master_reattach_i3c_dev, this address is checked to be
taken. Then device information retrieving step is skipped. As a result,
though the i3c device is registered correctly, its device driver could
not be probed.
Tested: Tested with a I3C device. If assigned-address is set to be the
device's static address, without this change, its device driver could
not probed. And with this change, its driver is probed successfully.
Signed-off-by: Jack Chen <zenghuchen@google.com>
Link: https://lore.kernel.org/r/20230105212952.56321-1-zenghuchen@google.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions