Skip to content
Commit b469fc18 authored by Anders Nielsen's avatar Anders Nielsen Committed by Benjamin Cabé
Browse files

drivers: stepper: adi_tmc: Add progress log for stall guard tuning.



Replace stall guard retry error log on EAGAIN with enable/disable info log.
Log position, sg result and sg status on each rampstat_work_handler() call.
Treat only negative return values from tmc_spi_write_register() and
tmc_spi_read_register() as an error. Only log actual velocity when not 0.
Use helper functions rampstat_work_reschedule() and read_vactual().

Signed-off-by: default avatarAnders Nielsen <anders.nielsen@prevas.dk>
parent 4b4dc773
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment