aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
diff options
context:
space:
mode:
authorWentao Liang <[email protected]>2025-05-19 07:57:39 +0000
committerMark Brown <[email protected]>2025-05-20 09:24:59 +0000
commit688abe2860fd9c644705b9e11cb9649eb891b879 (patch)
tree9da8a56af49f5bead959fdce217a1cf2f1b13364 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
parentASoC: apple: mca: Constrain channels according to TDM mask (diff)
downloadkernel-688abe2860fd9c644705b9e11cb9649eb891b879.tar.gz
kernel-688abe2860fd9c644705b9e11cb9649eb891b879.zip
ASoC: qcom: sdm845: Add error handling in sdm845_slim_snd_hw_params()
The function sdm845_slim_snd_hw_params() calls the functuion snd_soc_dai_set_channel_map() but does not check its return value. A proper implementation can be found in msm_snd_hw_params(). Add error handling for snd_soc_dai_set_channel_map(). If the function fails and it is not a unsupported error, return the error code immediately. Fixes: 5caf64c633a3 ("ASoC: qcom: sdm845: add support to DB845c and Lenovo Yoga") Cc: [email protected] # v5.6 Signed-off-by: Wentao Liang <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions