diff options
author | Viresh Kumar <viresh.kumar@st.com> | 2011-08-05 15:32:34 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2011-08-25 19:33:38 +0530 |
commit | 48a59ef3579492855d41405f8bf0a2983e061976 (patch) | |
tree | 71f73aef26d74054dee11dcbeebdcd7a0ced57d7 /arch/cris | |
parent | b7b6018bad6fd7ebe5a78bda5f2a71a6ecf5406a (diff) |
dmaengine/amba-pl08x: Simplify pl08x_ensure_on()
Simply writing 1 on bit 0 is sufficient instead of reading and clearing bits.
Also as per manual, for bit 3-31 of DMACConfiguration register:
"read undefined, write as 0"
So, we must not rely on values read from this registers bit 3-31.
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'arch/cris')
0 files changed, 0 insertions, 0 deletions