]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: synquacer: busy variable must be initialized before use
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Tue, 17 May 2022 08:41:36 +0000 (17:41 +0900)
committerTom Rini <trini@konsulko.com>
Fri, 10 Jun 2022 17:37:32 +0000 (13:37 -0400)
commit29d382b94e6a1b0eddb3b7ae52099c9736c37a20
treea206a47fbe1f113da5e802710a641d557e3fd6f5
parentf49d616bea2f529b36e2d7fc892c9745eea3bce0
spi: synquacer: busy variable must be initialized before use

"busy" variable is ORed without being initialized,
must be zeroed before use.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Signed-off-by: Satoru Okamoto <okamoto.satoru@socionext.com>
Acked-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/spi/spi-synquacer.c