Skip to content
Commit a7ad7ce4 authored by Wang Wensheng's avatar Wang Wensheng Committed by Vinod Koul
Browse files

soundwire: stream: Fix error return code in do_bank_switch()



Fix to return a negative error code from the error handling case instead
of 0, as done elsewhere in this function.

Signed-off-by: default avatarWang Wensheng <wangwensheng4@huawei.com>
Reviewed-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220307074039.117488-1-wangwensheng4@huawei.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent d146de34
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment