diff options
author | Huibin Hong <huibin.hong@rock-chips.com> | 2018-10-10 11:00:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-25 09:53:53 +0100 |
commit | c5e007b469c9b62807334504f79c3ca100a69a92 (patch) | |
tree | 8ffbd4e3ddc09c8b8e23d673465d687eaa12aa5a /net/lapb/lapb_timer.c | |
parent | be5c4025706d3e5d558f80fd52ab2c0dc9b5419c (diff) |
spi: rockchip: initialize dma_slave_config properly
[ Upstream commit dd8fd2cbc73f8650f651da71fc61a6e4f30c1566 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions