commit | 38ce95a1c6fdc7a2a8cc177202cd421beef56427 | [log] [tgz] |
---|---|---|
author | Maninder Singh <maninder.singh_1@nxp.com> | Sun Oct 10 09:12:16 2021 -0700 |
committer | Priyanka Jain <priyanka.jain@nxp.com> | Tue Nov 09 17:18:23 2021 +0530 |
tree | 7e6676f34ae17dc77198a37dcc6dfc31719fc5f1 | |
parent | ed06772a605db6a3eb87941fa0aacc57ac879598 [diff] |
drivers: ddr: lc_common_dimm_params.c : Fix Divison by zero issue Adds check for memory clock variable before calculating caslat_actual. Set mclk_ps to slowest DIMM supported if mclk_ps is found zero. Signed-off-by: Maninder Singh <maninder.singh_1@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>