Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions drivers/gpu/drm/msm/dp/dp_audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,8 @@ int msm_dp_audio_prepare(struct drm_bridge *bridge,
* such cases check for connection status and bail out if not
* connected.
*/
if (!msm_dp_display->active_stream_cnt) {
rc = -EINVAL;
if (!msm_dp_display->active_stream_cnt)
goto end;
}

audio = msm_dp_audio_get_data(msm_dp_display);
if (IS_ERR(audio)) {
Expand Down