]> asedeno.scripts.mit.edu Git - linux.git/commit
dmaengine: qcom_hidma: Check for driver register failure
authorAditya Pakki <pakki001@umn.edu>
Fri, 28 Dec 2018 20:11:19 +0000 (14:11 -0600)
committerVinod Koul <vkoul@kernel.org>
Mon, 7 Jan 2019 04:20:39 +0000 (09:50 +0530)
commita474b3f0428d6b02a538aa10b3c3b722751cb382
tree15b25a59168454c1e4782c533555ae3bd2be5b95
parentbfeffd155283772bbe78c6a05dec7c0128ee500c
dmaengine: qcom_hidma: Check for driver register failure

While initializing the driver, the function platform_driver_register can
fail and return an error. Consistent with other invocations, this patch
returns the error upstream.

Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Acked-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/qcom/hidma_mgmt.c