usb: musb: ux500_dma: add missing MEM resource check
authorVirupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Fri, 8 Mar 2013 02:27:05 +0000 (10:27 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 12:41:31 +0000 (14:41 +0200)
commit399e0f4f00adbfdea2122c1daec0d4015f56cc7a
treed995ea72c4cece63d72d6180e2f3cd1062ceadd4
parent9ee1c7fbeab5b671d3b63f2dd33ad48235efcfe8
usb: musb: ux500_dma: add missing MEM resource check

Fix dma_controller_create() fail path in case memory resource is
missing.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/ux500_dma.c