Commit 9d8a5f7f authored by Huibin Hong's avatar Huibin Hong Committed by Lee Jones
Browse files

spi: rockchip: initialize dma_slave_config properly



[ Upstream commit dd8fd2cb ]

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: default avatarHuibin Hong <huibin.hong@rock-chips.com>
Signed-off-by: default avatarEmil Renner Berthing <kernel@esmil.dk>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Change-Id: Ib9a7d4c869e750ced961a62feab2a59c84f06801
parent 0531ef43
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment