UPSTREAM: dmaengine: imx-sdma: Fix error checking in sdma_event_remap
[ Upstream commit 7104b9cb ] of_parse_phandle() returns NULL on errors, rather than error pointers. Using NULL check on grp_np to fix this. Fixes: d078cd1b ("dmaengine: imx-sdma: Add imx6sx platform support") Signed-off-by:Miaoqian Lin <linmq006@gmail.com> Link: https://lore.kernel.org/r/20220308064952.15743-1-linmq006@gmail.com Signed-off-by:
Vinod Koul <vkoul@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> (cherry picked from commit 65c36555) Signed-off-by:
Greg Kroah-Hartman <gregkh@google.com> Change-Id: Idbc9173d5031fa52cd378ff7c6d72ee137ee4528
Loading
Please sign in to comment