ddr: fsl: Provide initial value for zqcs_init
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Thu, 24 Jul 2025 15:32:55 +0000 (16:32 +0100)
committerPeng Fan <peng.fan@nxp.com>
Wed, 27 Aug 2025 07:39:05 +0000 (15:39 +0800)
commit377159bfb8ee35ce16200818cfa55cdfba8c69e9
tree176b569ed47fb05777f4f9a2c7bd7deb9d5d900b
parentfceb37d802b65beb4713f17e9167e7ecc4dbbe67
ddr: fsl: Provide initial value for zqcs_init

In the case of !zq_en zqcs_init is never assigned to although its value
is used. Correct by initialising zqcs_init to 0.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/ddr/fsl/ctrl_regs.c