commit | 8ca84687b91322b9eafeaf4da43a21684cd0316e | [log] [tgz] |
---|---|---|
author | Rabin Vincent <rabin.vincent@stericsson.com> | Tue Jan 25 11:18:07 2011 +0100 |
committer | Dan Williams <dan.j.williams@intel.com> | Sun Jan 30 22:27:16 2011 -0800 |
tree | bae0ececa3a7975c4b2a0bd5a7611abdd86131ad | |
parent | 7d83a854a1a44a8f6a699503441403a36c42f66c [diff] |
dma40: use helper for channel registers base The register offset computation for accessing channel registers is copy/pasted in several places. Create a helper function to do it. Acked-by: Per Forlin <per.forlin@stericsson.com> 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>