aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2021-03-07 16:17:58 +0100
committerLee Jones <[email protected]>2021-03-18 11:46:15 +0000
commitece2619fe8edc703b872136057090627e8a19ab4 (patch)
tree1e86315069030ebb4ddc09db961cb5cdd5ad70c0 /tools/perf/scripts/python/event_analyzing_sample.py
parente5b499f6fb17bc95a813e85d0796522280203806 (diff)
extcon: arizona: Fix flags parameter to the gpiod_get("wlf,micd-pol") call
The initial value of the GPIO should match the info->micd_modes[0].gpio value. arizona_extcon_probe() already stores the necessary flag in a mode variable, but instead of passing mode as flags to the gpiod_get() it was using a hardcoded GPIOD_OUT_LOW. Signed-off-by: Hans de Goede <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Acked-by: Charles Keepax <[email protected]> Acked-by: Chanwoo Choi <[email protected]> Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions