diff options
author | Rander Wang <[email protected]> | 2020-01-14 18:08:42 -0600 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2020-02-25 15:57:02 +0530 |
commit | aa79293517b395c6094a382779c911689e8c9a8b (patch) | |
tree | 18950b9ff25651435abf11a54e9bd241cb52a68f /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | dff70572e9a3a1a01d9dbc2279faa784d95f41b6 (diff) |
soundwire: bus: fix io error when processing alert event
There are two types of io errors when processing alert event.
a) the Master detects an ALERT status for e.g. a jack event and
invokes the implementation-defined function in the Slave driver to
check the jack status. At this time the codec is just suspended, so io
registers can't be accessed.
b) when waking up from clock stop mode1 state, where the bus needs a
complete re-enumeration, Slave registers can't be accessed until the
enumeration is complete.
This patch resumes the Slave device and waits for initialization
complete when processing slave alert event, so that registers on the
Slave can be accessed without timeouts or io errors.
Signed-off-by: Rander Wang <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions