mmc: omap: Initialize dma_slave_config to avoid random data in it's fields
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 14 Sep 2016 11:21:54 +0000 (14:21 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 14 Sep 2016 11:59:33 +0000 (13:59 +0200)
commitdf804d5e27490151da1ce9f216031a31352203e6
tree74a535ef8717272bb413119061ef54e0c80e53a1
parente5789608766113ca9c30d596d93ca7d5cbd8b461
mmc: omap: Initialize dma_slave_config to avoid random data in it's fields

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.c