git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f7e947
)
xhci: unify cycle state toggling operation with 'XOR'
author
Lin Wang
<lin.x.wang@intel.com>
Tue, 17 Mar 2015 16:32:21 +0000
(18:32 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 15:21:14 +0000
(16:21 +0100)
Some toggling operation in xHCI driver still use conditional toggling:
ring->cycle_state = (ring->cycle_state ? 0 : 1);
Use XOR to invert the cycle state instead of a conditional toggle to unify
cycle state toggling operation in xHCI driver.
Signed-off-by: Lin Wang <lin.x.wang@intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-ring.c
patch
|
blob
|
history
diff --cc
drivers/usb/host/xhci-ring.c
Simple merge