mmc: omap_hsmmc: Initialize dma_slave_config to avoid random data
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 14 Sep 2016 11:22:07 +0000 (14:22 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 14 Sep 2016 11:59:33 +0000 (13:59 +0200)
commite5789608766113ca9c30d596d93ca7d5cbd8b461
tree1c1a2bb5987aef36b1b2eced10ba36689d66c765
parent3ae50f4512ce831e8b63eb54ad969417ff30ada7
mmc: omap_hsmmc: Initialize dma_slave_config to avoid random data

It is wrong to use uninitialized dma_slave_config and configure only
certain fields as the DMAengine driver might look at non initialized
(random data) fields and tries to interpret it.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/omap_hsmmc.c