]> asedeno.scripts.mit.edu Git - linux.git/commit
dmaengine: stm32-mdma: Add a check on read_u32_array
authorAditya Pakki <pakki001@umn.edu>
Fri, 28 Dec 2018 19:26:41 +0000 (13:26 -0600)
committerVinod Koul <vkoul@kernel.org>
Mon, 7 Jan 2019 04:22:24 +0000 (09:52 +0530)
commit906b40b246b0acb54c4dc97e815cf734761c9820
tree32eab12466d21fff799abded3678bcb8a1ba7e7d
parentbfeffd155283772bbe78c6a05dec7c0128ee500c
dmaengine: stm32-mdma: Add a check on read_u32_array

In stm32_mdma_probe, after reading the property "st,ahb-addr-masks", the
second call is not checked for failure. This time of check to time of use
case of "count" error is sent upstream.

Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Acked-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/stm32-mdma.c