diff options
author | 2011-08-05 15:32:34 +0530 | |
---|---|---|
committer | 2011-08-25 19:33:38 +0530 | |
commit | 48a59ef3579492855d41405f8bf0a2983e061976 (patch) | |
tree | 71f73aef26d74054dee11dcbeebdcd7a0ced57d7 /fs/jbd2/commit.c | |
parent | dmaengine/amba-pl08x: support runtime PM (diff) | |
download | linux-rng-48a59ef3579492855d41405f8bf0a2983e061976.tar.xz linux-rng-48a59ef3579492855d41405f8bf0a2983e061976.zip |
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 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions