summaryrefslogtreecommitdiff
path: root/drivers/usb/class/cdc-acm.c
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2020-06-24 16:59:45 +0300
committerSasha Levin <sashal@kernel.org>2020-06-29 20:08:00 -0400
commit56ee5f3070d798cb01cc33d22971667c54a8d6cd (patch)
treeaa6eb0adb2ee856cac3f85b0532976e413e72085 /drivers/usb/class/cdc-acm.c
parent571b0abe7f4e5d5192c090c2d2642a1d21165d7f (diff)
xhci: Fix incorrect EP_STATE_MASK
commit dceea67058fe22075db3aed62d5cb62092be5053 upstream. EP_STATE_MASK should be 0x7 instead of 0xf xhci spec 6.2.3 shows that the EP state field in the endpoint context data structure consist of bits [2:0]. The old value included a bit from the next field which fortunately is a RsvdZ region. So hopefully this hasn't caused too much harm Cc: stable@vger.kernel.org Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://lore.kernel.org/r/20200624135949.22611-2-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions