Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
soundwire: bus: fix io error when processing alert event
There are two types of io error when processing alert event. The first one is: master receives an alert event for jack event and invokes implement_def function in slave to check jack status. At this time codec is just suspended, so io registers can't be accessed. Another one is: when waking up from clock stop state and bus needs a complete re-enumeration for synchronization issue , slave register can't be accessed. This patch wakes up codec and wait for initialization complete when processing slave alert event, so that io registers can be accessed. Signed-off-by: Rander Wang <rander.wang@intel.com>
- Loading branch information