UPSTREAM: drm/rockchip: inno_hdmi: fix an error code
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 25 Feb 2016 21:30:29 +0000 (00:30 +0300)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 1 Jun 2016 09:14:17 +0000 (17:14 +0800)
commitab830149e1fc76c0a796a7e48a102689fadbeb6d
tree4302fc2b96896c6f0db2773ecc7b7793e13c82dd
parent81b785ae0047c1c1ce39fadc2d239c0e33bd933f
UPSTREAM: drm/rockchip: inno_hdmi: fix an error code

We were accidentally returning PTR_ERR(NULL) which means success when we
wanted to return a negative error code.

Change-Id: Ia56827712eeaafef93ce433c0e05b95534784e30
Fixes: 412d4ae6b7a5 ('drm/rockchip: hdmi: add Innosilicon HDMI support')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Yakir Yang <ykk@rock-chips.com>
(cherry picked from git.kernel.org next/linux-next.git master
 commit 2743becb3338cf012dbe7b70c6c39bbac81cc101)
drivers/gpu/drm/rockchip/inno_hdmi.c