From: Viresh Kumar Date: Fri, 5 Aug 2011 10:02:34 +0000 (+0530) Subject: dmaengine/amba-pl08x: Simplify pl08x_ensure_on() X-Git-Tag: v3.2-rc1~47^2~18^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48a59ef3579492855d41405f8bf0a2983e061976;p=pandora-kernel.git 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 Acked-by: Linus Walleij Signed-off-by: Vinod Koul --- Reading git-diff-tree failed