arm: dma: check clk_get() result
authorVasiliy Kulikov <segoon@openwall.com>
Fri, 26 Nov 2010 17:05:55 +0000 (20:05 +0300)
committerSascha Hauer <s.hauer@pengutronix.de>
Fri, 3 Dec 2010 10:05:12 +0000 (11:05 +0100)
commitabebbb468050ad63caed55fdb7a6bfce732e9a7f
treebb2e27882809fb35c9e1c51d736e816cf3b81b1e
parent0ef51953be84cf910cdf5d9a6b8ccb75fd3dd10c
arm: dma: check clk_get() result

clk_get() may return ERR_PTR(), if so propagate return code as
imx_dma_init() return code.

Signed-off-by: Vasiliy Kulikov <segoon@openwall.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/dma-v1.c