]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit054a1512be8e140f0e3657d55434fb0233385383
tree1c1a2bb5987aef36b1b2eced10ba36689d66c765
parent9ba5856a71feed8f22063428d6883ee3ffe254b7
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