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

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

Merge "msm: mdss: hdmi: Proper HDMI feature check"

parents ea7db140 3a554d10
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -438,7 +438,7 @@ void *hdmi_get_featuredata_from_sysfs_dev(struct device *device,
{
	struct hdmi_tx_ctrl *hdmi_ctrl = NULL;

	if (!device || feature_type > HDMI_TX_FEAT_MAX) {
	if (!device || feature_type >= HDMI_TX_FEAT_MAX) {
		DEV_ERR("%s: invalid input\n", __func__);
		return NULL;
	}