From: Xenia Ragiadakou Date: Mon, 26 Aug 2013 20:29:47 +0000 (+0300) Subject: xhci: fix SCT_FOR_CTX(p) macro X-Git-Tag: v3.14-rc1~148^2~130^2~65^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63a67a72d63dd077c2313cf19eb29d8e4bfa6963;p=pandora-kernel.git 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 Signed-off-by: Sarah Sharp --- Reading git-diff-tree failed