From: Russell King - ARM Linux Date: Mon, 3 Jan 2011 22:39:13 +0000 (+0000) Subject: ARM: PL08x: avoid duplicating registers in txd and phychan structures X-Git-Tag: v2.6.38-rc1~25^2~11^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19524d77ec34faf58d313ba34fb755ef6e159216;p=pandora-kernel.git ARM: PL08x: avoid duplicating registers in txd and phychan structures As we now have all the code accessing the phychan {csrc,cdst,clli,cctl, ccfg} members in one function, there's no point storing the data into the struct. Get rid of the struct members. Re-order the register dump in the dev_dbg() to reflect the order we write the registers to the DMA device. The txd {csrc,cdst,clli,cctl} values are duplicates of the lli[0] values, so there's no point duplicating these either. Program the DMAC registers directly from the lli[0] values. Signed-off-by: Russell King Acked-by: Linus Walleij Signed-off-by: Dan Williams --- Reading git-diff-tree failed