Use udelay directly.
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
break;
if (result != DC_OK)
break;
- dm_delay_in_microseconds(link->ctx, 100); //MAx T9
+ udelay(100); //MAx T9
} while (++tries < 50);
return result;
}
pipes[i].stream->sink->link != NULL &&
pipes[i].stream_res.stream_enc != NULL &&
pipes[i].stream->sink->link == link) {
- dm_delay_in_microseconds(link->ctx, 100);
+ udelay(100);
pipes[i].stream_res.stream_enc->funcs->dp_blank(
pipes[i].stream_res.stream_enc);
if (psr_state == 0)
break;
}
- dm_delay_in_microseconds(dmcu->ctx, 10);
+ udelay(10);
}
}
}
if (psr_state == 0)
break;
}
- dm_delay_in_microseconds(dmcu->ctx, 500);
+ udelay(500);
}
/* assert if max retry hit */
unsigned int size,
struct persistent_data_flag *flag);
-void dm_delay_in_microseconds
- (struct dc_context *ctx, unsigned int microSeconds);
-
bool dm_query_extended_brightness_caps
(struct dc_context *ctx, enum dm_acpi_display_type display,
struct dm_acpi_atif_backlight_caps *pCaps);