lkml.org 
[lkml]   [2021]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] soundwire: bus: handle errors in clock stop/start sequences
Date
If a device lost sync and can no longer ACK a command, it may not be
able to enter a lower-power state but it will still be able to resync
when the clock restarts. In those cases, we want to continue with the
clock stop sequence.

This patch modifies the behavior when -ENODATA is received, with the
error level demoted to a dev_dbg() since it's a recoverable issue.

For consistency the log messages are also modified to be unique and
self-explanatory, and missing logs are also added on clock stop exit.

Pierre-Louis Bossart (2):
soundwire: add macro to selectively change error levels
soundwire: bus: handle errors in clock stop/start sequences

drivers/soundwire/bus.c | 70 +++++++++++++++++++----------------------
drivers/soundwire/bus.h | 8 +++++
2 files changed, 40 insertions(+), 38 deletions(-)

--
2.17.1

\
 
 \ /
  Last update: 2021-03-31 03:15    [W:0.054 / U:4.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site