aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorBingbu Cao <[email protected]>2023-03-10 23:19:10 +0800
committerHans Verkuil <[email protected]>2023-04-11 18:54:01 +0200
commit567f97bd381fd79fa8563808118fc757cb6fa4ff (patch)
tree07cd5843b093166d2da169ad1e7fad46e6fce8cd /tools/perf/scripts
parentbd5a03bc5be8cc74c607896cb780a2819389a4dd (diff)
media: ipu3-cio2: support multiple sensors and VCMs with same HID
In current cio2-bridge, it is using the hid name to register software node and software node will create kobject and sysfs entry according to the node name, if there are multiple sensors and VCMs which are sharing same HID name, it will cause the software nodes registration failure: sysfs: cannot create duplicate filename '/kernel/software_nodes/dw9714' ... Call Trace: software_node_register_nodes cio2_bridge_init ... kobject_add_internal failed for dw9714 with -EEXIST, don't try to register things with the same name in the same directory. One solution is appending the sensor link(Mipi Port) in SSDB as suffix of the node name to fix this problem. Signed-off-by: Bingbu Cao <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions