]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/dma/imx-sdma.c
dmaengine: imx-sdma: Check for clk_enable() errors
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 30 Jul 2015 00:03:49 +0000 (21:03 -0300)
committerVinod Koul <vinod.koul@intel.com>
Thu, 20 Aug 2015 05:22:12 +0000 (10:52 +0530)
commitb93edcdd037f713e9b62cc76fb2064282af01aec
treec8ea5015389652097cb056e8634a40f520b0a688
parentb096c1377d1e50cea91d1db13bca8e7802199a67
dmaengine: imx-sdma: Check for clk_enable() errors

clk_enable() may fail, so we should better check the return value and
propagate it in the case of error.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/imx-sdma.c