aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc
diff options
context:
space:
mode:
authorXenia Ragiadakou <burzalodowa@gmail.com>2013-08-26 23:29:47 +0300
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2013-12-02 12:59:46 -0800
commit63a67a72d63dd077c2313cf19eb29d8e4bfa6963 (patch)
treedf365bc70941d79783c26c884e246c4885cd940a /arch/sparc
parent64ba419b7a5acf5fc934bfad9cc46c7f17ab8026 (diff)
xhci: fix SCT_FOR_CTX(p) macro
SCT_FOR_CTX(p) is defined as (((p) << 1) & 0x7) in which case if we want to set the stream context type to SCT_SSA_256 i.e 0x7 (although secondary stream arrays are not yet supported) using this macro definition we will get actually 0x6 which is not what we want. This patch fixes the above issue by defining the SCT_FOR_CTX(p) macro as (((p) & 0x7) << 1) Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions