ARM: mxs: free dma_mask in error path
authorLothar Waßmann <LW@KARO-electronics.de>
Wed, 15 Dec 2010 21:11:31 +0000 (22:11 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 1 Mar 2011 13:19:55 +0000 (14:19 +0100)
commit84082d665dc62e632e21213fda8b22c0b8c25b81
tree478052614c02a2f512a2a6ce5a71fab8fd83bc6c
parent8c3f2d7a2df5b3ad020571cacb1824f8df4768fd
ARM: mxs: free dma_mask in error path

This fixes a small memory leak that was only hit in very unlikely error
paths.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
arch/arm/mach-mxs/devices.c