mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user