DMAENGINE: ste_dma40: improve allocation error handling
commitff0b12baa50390ba6a963cb6f6162a94ed4fc333
authorJonas Aaberg <jonas.aberg@stericsson.com>
Sun, 20 Jun 2010 21:25:15 +0000 (20 21:25 +0000)
committerDan Williams <dan.j.williams@intel.com>
Wed, 23 Jun 2010 01:01:54 +0000 (22 18:01 -0700)
treefd2604e67ffa4595ffc0fb33a95a2634b44805d8
parentc675b1b424446b52de00cad84ca3d823d29a3d0e
DMAENGINE: ste_dma40: improve allocation error handling

Better error handling when channel allocation fails.

Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ste_dma40.c