Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f94d84d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: msm-hdmi-codec-rx: update return value for error case"

parents 36404182 619ffe59
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -102,7 +102,7 @@ static int msm_hdmi_audio_codec_rx_dai_startup(
		dev_err(dai->dev,
			"%s() HDMI cable is not connected (ret val = %d)\n",
			__func__, msm_hdmi_audio_codec_return_value);
		ret = -EAGAIN;
		ret = -ENODEV;
	}

	return ret;
@@ -131,7 +131,7 @@ static int msm_hdmi_audio_codec_rx_dai_hw_params(
		dev_err(dai->dev,
			"%s() HDMI cable is not connected (ret val = %d)\n",
			__func__, msm_hdmi_audio_codec_return_value);
		return -EAGAIN;
		return -ENODEV;
	}

	/*refer to HDMI spec CEA-861-E: Table 28 Audio InfoFrame Data Byte 4*/