[ARM] msm: dma: various basic dma improvements and bugfixes
authorBrian Swetland <swetland@google.com>
Wed, 10 Sep 2008 21:58:25 +0000 (14:58 -0700)
committerBrian Swetland <swetland@google.com>
Wed, 22 Oct 2008 09:41:00 +0000 (02:41 -0700)
commit8a0f6f17c43933a4768ab79b9ac3ad24cd3c2c3f
tree3768860bbca3d9bc25ddaab987aedd88a901d7fe
parent600f7cfebeef74a6ba961c507079e3629da5dd7a
[ARM] msm: dma: various basic dma improvements and bugfixes

San:
- Propagate DM errors to the originator of the request.
- Implement msm_dmov_stop_cmd()
- Add return value to init code
- Modify msm_dmov_stop_cmd() to support ungraceful flushing

Arve:
- Disable datamover interrupt when not in use.
  We turn off the interrrupt to allow power collapse from idle.

Signed-off-by: San Mehat <san@android.com>
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Brian Swetland <swetland@google.com>
arch/arm/mach-msm/dma.c
arch/arm/mach-msm/include/mach/dma.h