From: Russell King - ARM Linux Date: Mon, 3 Jan 2011 22:39:33 +0000 (+0000) Subject: ARM: PL08x: move ccfg into txd structure X-Git-Tag: v2.6.38-rc1~25^2~11^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4983a04fd2562986360b646b378f267308bc22c0;p=pandora-kernel.git ARM: PL08x: move ccfg into txd structure The ccfg register is used to configure the channel parameters - the type and direction of transfer, the flow control signal and IRQ mask enables. The type and direction of transfer is known in the relevent prep_* function where a txd is created. The IRQ mask enables are always set, and the flow control signals are always set when we start processing a txd according to phychan->signal. If we store the ccfg value in the txd structure, we can avoid modifying platform data - and even having it in platform data at all. So, remove it from platform data too. Signed-off-by: Russell King Acked-by: Linus Walleij Signed-off-by: Dan Williams --- Reading git-diff-tree failed