aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorSergey Organov <[email protected]>2023-02-01 17:26:54 +0300
committerGreg Kroah-Hartman <[email protected]>2023-02-08 13:11:48 +0100
commitd45fb2e430e54fac6af3cabb39c36171c4bf3f52 (patch)
tree8d82191906391e249ca493904dc8ffb1bc41a4aa /tools/testing/selftests/bpf/progs/test_autoload.c
parent8cf31a99d3a53a68f7032452cb7de3203b8200c8 (diff)
serial: imx: factor-out common code to imx_uart_soft_reset()
We perform soft reset in 2 places, slightly differently for no sufficient reasons, so move more generic variant to a function, and re-use the code. Out of 2 repeat counters, 10 and 100, select 10, as the code works at interrupts disabled, and in practice the reset happens immediately. Signed-off-by: Sergey Organov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions