diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2021-07-14 11:22:04 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-08-02 11:08:22 +0530 |
commit | e6645314eb2747bef4d9a375997221dede8ce4ce (patch) | |
tree | 5bb936b6dc53c0f751d23f8f2d44c9c8127ccb28 /scripts/gdb/linux/modules.py | |
parent | 13a5635632af61853e874f9daeffd3f5e83daae5 (diff) | |
download | linux-stable-e6645314eb2747bef4d9a375997221dede8ce4ce.tar.gz linux-stable-e6645314eb2747bef4d9a375997221dede8ce4ce.tar.bz2 linux-stable-e6645314eb2747bef4d9a375997221dede8ce4ce.zip |
soundwire: stream: don't abort bank switch on Command_Ignored/-ENODATA
This change is needed for support of mockup devices, which by
construction will not provide any answer to a bank switch, but it's
also legit for regular cases.
If for some reason a device loses sync and cannot handle a bank
switch, we should go ahead anyways. The devices can always resync
later.
The only case where the error flow should be used is when there is a
Command_Aborted composite answer from SoundWire devices.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Link: https://lore.kernel.org/r/20210714032209.11284-6-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions