summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <wbg@kernel.org>2025-03-05 19:01:19 +0900
committerWilliam Breathitt Gray <wbg@kernel.org>2025-03-06 23:04:50 +0900
commitc0c9c73434666dc99ee156b25e7e722150bee001 (patch)
tree0a533dc99a502cd0a521dd68101f92be5353fccd /tools/testing/selftests/bpf/prog_tests/autoload.c
parent8744dcd4fc7800de2eb9369410470bb2930d4c14 (diff)
downloadlinux-c0c9c73434666dc99ee156b25e7e722150bee001.tar.gz
linux-c0c9c73434666dc99ee156b25e7e722150bee001.tar.bz2
linux-c0c9c73434666dc99ee156b25e7e722150bee001.zip
counter: microchip-tcb-capture: Fix undefined counter channel state on probe
Hardware initialize of the timer counter channel does not occur on probe thus leaving the Count in an undefined state until the first function_write() callback is executed. Fix this by performing the proper hardware initialization during probe. Fixes: 106b104137fd ("counter: Add microchip TCB capture counter") Reported-by: Csókás Bence <csokas.bence@prolan.hu> Closes: https://lore.kernel.org/all/bfa70e78-3cc3-4295-820b-3925c26135cb@prolan.hu/ Link: https://lore.kernel.org/r/20250305-preset-capture-mode-microchip-tcb-capture-v1-1-632c95c6421e@kernel.org Signed-off-by: William Breathitt Gray <wbg@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions