Commit 88f5d2a4 authored by Qianfeng Rong's avatar Qianfeng Rong Committed by Vinod Koul
Browse files

soundwire: Use min() to improve code



Use min() to reduce the code in qcom_swrm_xfer_msg() and improve its
readability.

Signed-off-by: default avatarQianfeng Rong <rongqianfeng@vivo.com>
Link: https://lore.kernel.org/r/20250814142428.282639-1-rongqianfeng@vivo.com


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