diff options
author | 2016-02-05 17:05:12 -0800 | |
---|---|---|
committer | 2016-03-04 15:14:22 +0200 | |
commit | 446fa3a95df1e8b78f25e1babc41e46edd200821 (patch) | |
tree | 0e5d8aad4c5c142907309bd7fa827d5d65ba273f /drivers/usb/gadget/function/f_acm.c | |
parent | Merge tag 'usb-ci-v4.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/usb into usb-next (diff) | |
download | wireguard-linux-446fa3a95df1e8b78f25e1babc41e46edd200821.tar.xz wireguard-linux-446fa3a95df1e8b78f25e1babc41e46edd200821.zip |
usb: ch9: Add size macro for SSP dev cap descriptor
The SuperspeedPlus Device Capability Descriptor has a variable size
depending on the number of sublink speed attributes.
This patch adds a macro to calculate that size. The macro takes one
argument, the Sublink Speed Attribute Count (SSAC) as reported by the
descriptor in bmAttributes[4:0].
See USB 3.1 9.6.2.5, Table 9-19.
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'drivers/usb/gadget/function/f_acm.c')
0 files changed, 0 insertions, 0 deletions