commit | 48a59ef3579492855d41405f8bf0a2983e061976 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@st.com> | Fri Aug 05 15:32:34 2011 +0530 |
committer | Vinod Koul <vinod.koul@intel.com> | Thu Aug 25 19:33:38 2011 +0530 |
tree | 71f73aef26d74054dee11dcbeebdcd7a0ced57d7 | |
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>