summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <wbg@kernel.org>2025-03-05 13:01:19 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-07 11:09:35 +0300
commit9ef966f8aab9b28dfcfb68f183b840d6b3adbcdf (patch)
treed14b6c7234f0480084ce4288decc2f030092c7cc /scripts/gdb/linux/utils.py
parent0bf757e5484d6f11183d671db41d0edbec577112 (diff)
downloadlinux-9ef966f8aab9b28dfcfb68f183b840d6b3adbcdf.tar.xz
counter: microchip-tcb-capture: Fix undefined counter channel state on probe
commit c0c9c73434666dc99ee156b25e7e722150bee001 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions