diff options
author | Lin Wang <lin.x.wang@intel.com> | 2015-03-17 12:32:21 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-18 11:21:14 -0400 |
commit | e5401bf37a69620bdf079e4ee6c30a268f06f04b (patch) | |
tree | d17949a17d99c022cb88c6602a3146fc9f4076f9 /README | |
parent | 8f7e9473ab62139c78eb834f53c4ec6bc22d111f (diff) |
xhci: unify cycle state toggling operation with 'XOR'
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>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions