]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: Avoid unnecessary uncached
authorHelmut Schaa <helmut.schaa@googlemail.com>
Wed, 7 Sep 2011 18:11:26 +0000 (20:11 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Sep 2011 17:56:48 +0000 (13:56 -0400)
commit019e8f4c661c0bc9d7fccf5659f0d8b00692c6ed
tree50f37b9a9dd3748f18b530bc1bae483ac3a4dbf5
parent21fa5989bbed4cec6fa753ee8177ca51b9318351
rt2x00: Avoid unnecessary uncached

Reading the TX desciptor words from coherent memory is always uncached
and potentially slow. Hence, don't read the TX descriptor prior to
writing it since we update all fields anyway.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800pci.c