DMAENGINE: ste_dma40: fix suspend bug
commitd181b3a8cb2fc1732ad1826a5e6fdccab03e6a51
authorJonas Aaberg <jonas.aberg@stericsson.com>
Sun, 20 Jun 2010 21:26:38 +0000 (20 21:26 +0000)
committerDan Williams <dan.j.williams@intel.com>
Wed, 23 Jun 2010 01:01:56 +0000 (22 18:01 -0700)
tree421df4b6411a9b3acea2467237ad3b0e2fc20b4c
parent8bc68fa51d7ed520cd4c69f74fb37add60b6ea47
DMAENGINE: ste_dma40: fix suspend bug

This fixes a bug when suspending channels: first make the checks,
then suspend the channel, not the other way around.

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