mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
sb_edac: Fix typo computing number of banks
Code will always think there are 16 banks because of a typo Reported-by: Misha Signed-off-by: Tony Luck <[email protected]> Acked-by: Aristeu Rozanski <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
1f39581a9a
commit
fec53af531
1 changed files with 1 additions and 1 deletions
|
|
@ -901,7 +901,7 @@ static int get_dimm_config(struct mem_ctl_info *mci)
|
|||
else
|
||||
edac_dbg(0, "Memory is unregistered\n");
|
||||
|
||||
if (mtype == MEM_DDR4 || MEM_RDDR4)
|
||||
if (mtype == MEM_DDR4 || mtype == MEM_RDDR4)
|
||||
banks = 16;
|
||||
else
|
||||
banks = 8;
|
||||
|
|
|
|||
Loading…
Reference in a new issue