commit | e8fee9a771e9e54b401952bab5914a9dee190ebd | [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 | aa280144997fc1faa8624de0f658dcea566f8774 [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>