summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTomasz Figa <tfiga@chromium.org>2018-04-23 13:49:59 +0300
committerAndrzej Hajda <a.hajda@samsung.com>2018-04-24 09:34:50 +0300
commita4169609def769c66f88140678970b2be6f64ac7 (patch)
tree8968ff1e08283f888a619376e14bbecd00a0790d /scripts
parent7bb3bb4d56d8f3e0b29b8e4a70f2ab7a8e04a935 (diff)
downloadlinux-a4169609def769c66f88140678970b2be6f64ac7.tar.xz
drm/rockchip: analogix_dp: Do not call Analogix code before bind
Driver callbacks, such as system suspend or resume can be called any time, specifically they can be called before the component bind callback. Let's use dp->adp pointer as a safeguard and skip calling Analogix entry points if it is an ERR_PTR(). Signed-off-by: Tomasz Figa <tfiga@chromium.org> Signed-off-by: Thierry Escande <thierry.escande@collabora.com> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-24-enric.balletbo@collabora.com
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions