diff options
author | Stefan Binding <[email protected]> | 2023-10-26 16:05:58 +0100 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2023-10-26 17:55:29 +0200 |
commit | 76c121821a3128eb9d0183a525cf334beb9ccc47 (patch) | |
tree | 90896d4b53992210cc85c6fed22b958bbb67d929 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a51d8ba03a4fc92940d5e349f0325f36e85a89cb (diff) |
ASoC: cs35l41: Detect CSPL errors when sending CSPL commands
The existing code checks for the correct state transition after sending
a command. However, it is possible for the message box to return -1,
which indicates an error, if an error has occurred in the firmware.
We can detect if the error has occurred, and return a different error.
In addition, there is no recovering from a CSPL error, so the retry
mechanism is not needed in this case, and we can return immediately.
Signed-off-by: Stefan Binding <[email protected]>
Acked-by: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions