Commit 185189dc authored by Zeyu Fan's avatar Zeyu Fan Committed by Alex Deucher
Browse files

drm/amd/display: Fix error where wrong payload size is given.

parent 2b230ea3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -198,7 +198,7 @@ struct aux_payloads *dal_ddc_aux_payloads_create(struct dc_context *ctx, uint32_
		return NULL;

	if (dal_vector_construct(
		&payloads->payloads, ctx, count, sizeof(struct aux_payloads)))
		&payloads->payloads, ctx, count, sizeof(struct aux_payload)))
		return payloads;

	dm_free(payloads);