Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7fae0db4 authored by Hui Wang's avatar Hui Wang Committed by Mauro Carvalho Chehab
Browse files

edac: sb_edac: Fix a wrong value setting for the previous value



>From the driver design, the variable limit wants to compare with its
previous value, we should set the value of limit instead of the value
of tmp_mb to the variable prev.

Signed-off-by: default avatarHui Wang <jason77.wang@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent ad9c40b7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -763,7 +763,7 @@ static void get_memory_layout(const struct mem_ctl_info *mci)
			(u32)TAD_TGT2(reg),
			(u32)TAD_TGT2(reg),
			(u32)TAD_TGT3(reg),
			(u32)TAD_TGT3(reg),
			reg);
			reg);
		prv = tmp_mb;
		prv = limit;
	}
	}


	/*
	/*