]> git.baikalelectronics.ru Git - kernel.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)
commit51a9a2c58cc1a8b3036ab751b98929a69f6ca1a7
tree15b25a59168454c1e4782c533555ae3bd2be5b95
parentf9bb4b753eb00c02014e4467a28609f4f6ac7f88
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