Skip to content
Snippets Groups Projects
Commit c5bd028b authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/disp: fix uninitialised eq_done in error path

parent 17f0efc4
No related branches found
No related tags found
No related merge requests found
...@@ -191,7 +191,7 @@ dp_link_train_cr(struct dp_state *dp) ...@@ -191,7 +191,7 @@ dp_link_train_cr(struct dp_state *dp)
static int static int
dp_link_train_eq(struct dp_state *dp) dp_link_train_eq(struct dp_state *dp)
{ {
bool eq_done, cr_done = true; bool eq_done = false, cr_done = true;
int tries = 0, i; int tries = 0, i;
dp_set_training_pattern(dp, 2); dp_set_training_pattern(dp, 2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment