ssm: Add API to silence most state change debug messages

Otherwise tightly looping SSMs (primarily SPI transfers), will flood the
logs in inappropriate ways.
This commit is contained in:
Benjamin Berg
2021-12-02 13:44:57 +01:00
parent 31afd3ba5c
commit 3981c42d3e
3 changed files with 28 additions and 7 deletions

View File

@@ -260,6 +260,7 @@ fpi_ssm_get_device
fpi_ssm_get_error
fpi_ssm_dup_error
fpi_ssm_get_cur_state
fpi_ssm_silence_debug
fpi_ssm_spi_transfer_cb
fpi_ssm_spi_transfer_with_weak_pointer_cb
fpi_ssm_usb_transfer_cb