ste_dma40: add variable to indicate valid dma_cfg
authorRabin Vincent <rabin.vincent@stericsson.com>
Tue, 12 Oct 2010 13:00:49 +0000 (13:00 +0000)
committerDan Williams <dan.j.williams@intel.com>
Tue, 19 Oct 2010 22:17:06 +0000 (15:17 -0700)
commitce2ca1252ba8688a4997b4104793540f4c28c0d8
tree137b6098794fbb4270cc9c65936c89ff70ec7661
parent9646b7985e906e5fcea9375f016b4519c8318c21
ste_dma40: add variable to indicate valid dma_cfg

Since we want to reduce the amount of required channel
configuration and remove channel_type, don't depend on it
to indicate whether the configuration is valid.

Acked-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@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