aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-01-27 21:37:26 +0100
committerHans de Goede <hdegoede@redhat.com>2023-02-03 10:22:34 +0100
commit9b1785a2e2af522c2a64034a8716b7d47375ffec (patch)
tree1ce335e39a76564ed513a5bf471fd6eedb02e28f /tools/perf/scripts/python/bin
parentmedia: v4l2-core: Make the v4l2-core code enable/disable the privacy LED if p... (diff)
downloadlinux-9b1785a2e2af522c2a64034a8716b7d47375ffec.tar.gz
linux-9b1785a2e2af522c2a64034a8716b7d47375ffec.zip
platform/x86: int3472/discrete: Refactor GPIO to sensor mapping
Add a helper function to map the type returned by the _DSM method to a function name + the default polarity for that function. And fold the INT3472_GPIO_TYPE_RESET and INT3472_GPIO_TYPE_POWERDOWN cases into a single generic case. This is a preparation patch for further GPIO mapping changes. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com> Link: https://lore.kernel.org/r/20230127203729.10205-3-hdegoede@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions