diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2021-12-28 18:01:39 +0100 |
|---|---|---|
| committer | Chanwoo Choi <cw00.choi@samsung.com> | 2022-05-13 17:03:40 +0900 |
| commit | 12514f668c1fc608624b23a3cccc4845290c1211 (patch) | |
| tree | e933e00880979afbb8c2eee14923e5dd2a7a916e /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 019c34aaa85895a15962e4cf65e99f812848e44f (diff) | |
extcon: int3496: Request non-exclusive access to the ID GPIO
Some DSDTs are buggy and do a read from the ID pin during the ACPI
initialization, causing the pin to be marked as owned by:
"ACPI:OpRegion" and causing gpiod_get() to fail with -EBUSY.
Pass the GPIOD_FLAGS_BIT_NONEXCLUSIVE flag to the gpiod_get() call
to work around this.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
