diff options
| author | Kumar Anurag <kumar.singh@oss.qualcomm.com> | 2026-06-16 08:12:52 -0700 |
|---|---|---|
| committer | Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> | 2026-07-31 16:35:32 +0300 |
| commit | d858770e86e75bf78429b9f5210b7556ef431033 (patch) | |
| tree | ae16293e2bdac560a755a2c73e2b76ea8b69dd00 /scripts/const_structs.checkpatch | |
| parent | c8ec4b10864ee5cfd4ea88bca4238bf7df24b10b (diff) | |
| download | linux-d858770e86e75bf78429b9f5210b7556ef431033.tar.gz linux-d858770e86e75bf78429b9f5210b7556ef431033.zip | |
drm/msm/dp: return 0 from audio_prepare when cable is disconnected
PipeWire treats a non-zero return from prepare as fatal, marking the
DP audio device as a dummy sink when the cable is unplugged. The
active_stream_cnt guard already prevents any unclocked hardware access,
so return success instead of -EINVAL when the link is not active.
Signed-off-by: Kumar Anurag <kumar.singh@oss.qualcomm.com>
Suggested-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> # same behaviour
Patchwork: https://patchwork.freedesktop.org/patch/733663/
Link: https://lore.kernel.org/r/20260616151252.3599089-2-kumar.singh@oss.qualcomm.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
