]> git.karo-electronics.de Git - mv-sheeva.git/commit
ARM: PL08x: assign ccfg DMA request signal in prep_phy_channel()
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Mon, 3 Jan 2011 22:39:53 +0000 (22:39 +0000)
committerDan Williams <dan.j.williams@intel.com>
Wed, 5 Jan 2011 03:16:12 +0000 (19:16 -0800)
commit09b3c323332206aaadfb7aa13efffa82e7719b35
treea64ddedf5178eef4bab335f90adcada034c77138
parent4983a04fd2562986360b646b378f267308bc22c0
ARM: PL08x: assign ccfg DMA request signal in prep_phy_channel()

There is no need to wait until we start processing a tx descriptor
before setting up the DMA request selection in the ccfg register.
We know which channel and request will be used in prep_phy_channel(),
so setup the ccfg request selection at txd creation time in
prep_phy_channel().

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>
drivers/dma/amba-pl08x.c