commit | dd8fd2cbc73f8650f651da71fc61a6e4f30c1566 | [log] [tgz] |
---|---|---|
author | Huibin Hong <huibin.hong@rock-chips.com> | Wed Oct 10 11:00:32 2018 +0200 |
committer | Mark Brown <broonie@kernel.org> | Thu Oct 11 15:11:45 2018 +0100 |
tree | e97dcb2cf99818fe675d6ac0d7f1e22a32660a97 | |
parent | 940ec770c295682993d1cccce3081fd7c74fece8 [diff] |
spi: rockchip: initialize dma_slave_config properly The rxconf and txconf structs are allocated on the stack, so make sure we zero them before filling out the relevant fields. Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com> Signed-off-by: Emil Renner Berthing <kernel@esmil.dk> Signed-off-by: Mark Brown <broonie@kernel.org>