summaryrefslogtreecommitdiff
path: root/include/linux/atmel_pdc.h
diff options
context:
space:
mode:
authorRussell King - ARM Linux <linux@arm.linux.org.uk>2011-01-03 22:39:13 (GMT)
committerDan Williams <dan.j.williams@intel.com>2011-01-05 03:16:12 (GMT)
commit19524d77ec34faf58d313ba34fb755ef6e159216 (patch)
tree63b24d5a82de3ee5fd8e07a311eb8d573cd21f76 /include/linux/atmel_pdc.h
parentc885bee4f10323a1ff3f19e1aa2aa6f4e7f89dd8 (diff)
downloadlinux-fsl-qoriq-19524d77ec34faf58d313ba34fb755ef6e159216.tar.xz
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 <rmk+kernel@arm.linux.org.uk> Acked-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/atmel_pdc.h')
0 files changed, 0 insertions, 0 deletions