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)
committerMark Yao <mark.yao@rock-chips.com>
Tue, 3 May 2016 06:11:22 +0000 (14:11 +0800)
commit2743becb3338cf012dbe7b70c6c39bbac81cc101
tree17542bb98dea1af2e5ff6704f8e4745e3a8338a0
parent69b007968e7519cf1e44920f4578054c9e0fbdc3
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.

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>
drivers/gpu/drm/rockchip/inno_hdmi.c