MLK-20193: max9286: Coverity: fix potential dead code issue
authorGuoniu.Zhou <guoniu.zhou@nxp.com>
Thu, 20 Dec 2018 03:11:06 +0000 (11:11 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitaf48bcbd62097698da92c7acae25056bff44c192
tree5e004e5f52bf33bb947a4c338edd2299997ba8b1
parent24072be2a5cff8c6dd007e95be6fe7270dc7291a
MLK-20193: max9286: Coverity: fix potential dead code issue

Driver does not get the return value of function but the value
as the condition of if statement. It will never true, so fix it

Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
drivers/media/platform/imx8/max9286.c