diff options
author | Oliver Brown <oliver.brown@nxp.com> | 2019-03-22 14:42:55 -0500 |
---|---|---|
committer | Oliver Brown <oliver.brown@nxp.com> | 2019-03-23 13:37:33 -0500 |
commit | 4f7e2dc065f288ff0d8c1f3cb379cff652a0af0a (patch) | |
tree | 3039b955daaa1e1cfbd6e3b32625d1ab515d8bf7 /drivers/mxc | |
parent | abe2c28eefa7c4b81527fd48e6f008497c311084 (diff) |
MLK-20195-2 hdp: fix dead code error
Fixed a dead code error reported by Coverity.
CID 1826265: Logically dead code
Signed-off-by: Oliver Brown <oliver.brown@nxp.com>
(cherry picked from commit 4b25b038a2278b0782e144ec3e3907fbcbc138c1)
Diffstat (limited to 'drivers/mxc')
-rw-r--r-- | drivers/mxc/hdp/API_HDMITX.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mxc/hdp/API_HDMITX.c b/drivers/mxc/hdp/API_HDMITX.c index 1d52c4ce42e3..92e4dd6f1414 100644 --- a/drivers/mxc/hdp/API_HDMITX.c +++ b/drivers/mxc/hdp/API_HDMITX.c @@ -335,7 +335,7 @@ CDN_API_STATUS CDN_API_HDMITX_SetVic_blocking(state_struct *state, return ret; /* Reset Data Enable */ - CDN_API_General_Read_Register_blocking(state, ADDR_SOURCE_MHL_HD + + ret = CDN_API_General_Read_Register_blocking(state, ADDR_SOURCE_MHL_HD + (HDTX_CONTROLLER << 2), &resp); if (ret != CDN_OK) return ret; |