diff options
author | Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> | 2022-04-14 15:58:13 +0530 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-04-14 14:44:49 +0200 |
commit | e2932d1f6f055b2af2114c7e64a26dc1b5593d0c (patch) | |
tree | 510e3377b6b83e8d547f587d7af73988121c369a /drivers/usb/cdns3/cdnsp-debug.h | |
parent | ce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e (diff) |
EDAC/synopsys: Read the error count from the correct register
Currently, the error count is read wrongly from the status register. Read
the count from the proper error count register (ERRCNT).
[ bp: Massage. ]
Fixes: b500b4a029d5 ("EDAC, synopsys: Add ECC support for ZynqMP DDR controller")
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20220414102813.4468-1-shubhrajyoti.datta@xilinx.com
Diffstat (limited to 'drivers/usb/cdns3/cdnsp-debug.h')
0 files changed, 0 insertions, 0 deletions