bridge: Fix panel-bridge error return on !panel.
authorEric Anholt <eric@anholt.net>
Thu, 15 Jun 2017 17:54:23 +0000 (10:54 -0700)
committerArchit Taneja <architt@codeaurora.org>
Wed, 21 Jun 2017 10:08:02 +0000 (15:38 +0530)
commite6f0acb2f0da89625aefc84b448f457b9161436b
treec2971d569c78b3c5c0df2a2159d614690f952b15
parent64da710d1da5c5174c0b6bacbd6202d99624eeed
bridge: Fix panel-bridge error return on !panel.

ERR_PTR() needs a negative errno argument.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170615175423.17954-1-eric@anholt.net
drivers/gpu/drm/bridge/panel.c