summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-03-11 18:06:47 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-10-17 14:35:14 +0100
commite612c4322c625c5eb93c8a4f2b72860e7c0c12c1 (patch)
tree804b5ded137f96e9ce41190b04f0db676a53b055 /sound
parent7e7801e54ee1429d7ec4c87fd12633f86b100f9f (diff)
net: fec: better indexing for transmit descriptor ring
Maintaining the transmit ring position via pointers is inefficient, especially when it involves complex pointer manipulation, and overlap with the receive descriptor logic. Re-implement this using indexes, and a single function which returns the descriptor (appropriate to the descriptor type). As an additional benefit, using a union allows cleaner access to the descriptor. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions