drm/rockchip: cdn-dp: ignore firmware fallback mechanism

The firmware fallback machanism will speed more time to wait
the firmware loading if the firmware is no ready. Ignore firmware
fallback mechanism will reduce some time in this case.

Change-Id: I54245832728c956ea67be9f82cf4abd2ed8fbded
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
This commit is contained in:
Wyon Bi
2019-07-16 11:18:10 +08:00
committed by Zhang Yubing
parent ceaef0c7df
commit 1e00a071b4

View File

@@ -983,7 +983,8 @@ static int cdn_dp_request_firmware(struct cdn_dp_device *dp)
mutex_unlock(&dp->lock);
while (time_before(jiffies, timeout)) {
ret = request_firmware(&dp->fw, CDN_DP_FIRMWARE, dp->dev);
ret = request_firmware_direct(&dp->fw, CDN_DP_FIRMWARE,
dp->dev);
if (ret == -ENOENT) {
msleep(sleep);
sleep *= 2;