diff options
author | Yegor Yefremov <[email protected]> | 2019-06-20 08:24:20 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-06-21 10:18:43 +0200 |
commit | 4a96895f74c9633b51427fd080ab70fa62b65bc4 (patch) | |
tree | facc2d543408ca27666b401ec6ba80b5c14f8283 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | d99482673f950817b30caf3fcdfb31179b050ce1 (diff) |
tty/serial/8250: use mctrl_gpio helpers
This patch permits the usage for GPIOs to control
the CTS/RTS/DTR/DSR/DCD/RI signals.
Changed by Stefan:
Only call mctrl_gpio_init(), if the device has no ACPI companion device
to not break existing ACPI based systems. Also only use the mctrl_gpio_
functions when "gpios" is available.
Use MSR / MCR <-> TIOCM wrapper functions.
Signed-off-by: Yegor Yefremov <[email protected]>
Signed-off-by: Stefan Roese <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Mika Westerberg <[email protected]>
Tested-by: Yegor Yefremov <[email protected]>
Cc: Mika Westerberg <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: Giulio Benetti <[email protected]>
Cc: Yegor Yefremov <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions