From: Lin Wang Date: Tue, 17 Mar 2015 16:32:21 +0000 (+0200) Subject: xhci: unify cycle state toggling operation with 'XOR' X-Git-Tag: omap-for-v4.2/o2_dc~157^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5401bf37a69620bdf079e4ee6c30a268f06f04b;p=pandora-kernel.git 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 Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed