diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-03-08 09:49:51 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-04-11 17:18:51 +0300 |
commit | 7104b9cb35a33ad803a1adbbfa50569b008faf15 (patch) | |
tree | 6cd03763bdc58a52e2e561e9c59cea0b80e87b8f /drivers/hid/hid-holtekff.c | |
parent | 206680c4e46b62fd8909385e0874a36952595b85 (diff) | |
download | linux-7104b9cb35a33ad803a1adbbfa50569b008faf15.tar.xz |
dmaengine: imx-sdma: Fix error checking in sdma_event_remap
of_parse_phandle() returns NULL on errors, rather than error
pointers. Using NULL check on grp_np to fix this.
Fixes: d078cd1b4185 ("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>
Diffstat (limited to 'drivers/hid/hid-holtekff.c')
0 files changed, 0 insertions, 0 deletions