MLK-21553 drm/bridge: it6263: Do hotplug detect quickly in unforced case
authorLiu Ying <victor.liu@nxp.com>
Thu, 25 Apr 2019 07:18:03 +0000 (15:18 +0800)
committerLiu Ying <victor.liu@nxp.com>
Fri, 26 Apr 2019 02:21:56 +0000 (10:21 +0800)
commit50572292d907954fbaea62c15d9c0d37a86ca3bb
tree2913fd2b482bf65ffb093faf7fc9ff2f0877b603
parent000eea02aa16d99010cdea0af8d22647bcd6f309
MLK-21553 drm/bridge: it6263: Do hotplug detect quickly in unforced case

We should avoid expensive, destructive operations during automated hotplug
probing, otherwise, it could cause flickering on other running displays.
So, let's check the parameter 'force' of ->detect() and do the appropriate
detection accordingly.

Reported-by: Luo Danwei <danwei.luo@nxp.com>
Tested-by: Luo Danwei <danwei.luo@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
drivers/gpu/drm/bridge/it6263.c