diff options
| -rw-r--r-- | drivers/video/msm/mdss/mdss_hdmi_tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/msm/mdss/mdss_hdmi_tx.c b/drivers/video/msm/mdss/mdss_hdmi_tx.c index 91392295f55..0c259c93e8c 100644 --- a/drivers/video/msm/mdss/mdss_hdmi_tx.c +++ b/drivers/video/msm/mdss/mdss_hdmi_tx.c @@ -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; } |
