summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-07-05 23:30:09 +0200
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-08-10 07:58:41 +0200
commitfc0f5b59adf5170f0f4c2dc20c13f558e2baf64a (patch)
tree9ff19b4fe4d21482a2995499bd650cddb1bc74b0 /tools/perf/scripts/python
parentf04eedb9424b8359fa788ce6b01ac3b90eedbea2 (diff)
media: atomisp: csi2-bridge: Add dev_name() to acpi_handle_info() logging
acpi_handle_info() uses the ACPI path to the handle as prefix for messages e.g. : "\_SB_.I2C2.CAM8". This makes it hard for users to figure out which csi2-bridge messages belong to which sensor since the actual sensor drivers uses the ACPI device name (typically "HID:00") for logging. Extend the acpi_handle_info() (and err and warn) logging to also log the device name to make it easier to match csi2-bridge messages with sensor driver log messages. Suggested-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Andy Shevchenko <andy@kernel.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions