diff options
author | Russell King - ARM Linux <linux@arm.linux.org.uk> | 2011-01-03 23:39:33 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-01-05 04:16:12 +0100 |
commit | 4983a04fd2562986360b646b378f267308bc22c0 (patch) | |
tree | 365b9fcfe69547f27dc1593565a07ad0465bf37c /sound/oss/midi_synth.c | |
parent | ARM: PL08x: avoid duplicating registers in txd and phychan structures (diff) | |
download | linux-4983a04fd2562986360b646b378f267308bc22c0.tar.xz linux-4983a04fd2562986360b646b378f267308bc22c0.zip |
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 <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 'sound/oss/midi_synth.c')
0 files changed, 0 insertions, 0 deletions