diff options
| author | John Youn <John.Youn@synopsys.com> | 2016-02-05 17:05:12 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-09 18:42:44 +0100 |
| commit | f044af8c1dc3f12d933dfae4e51ab2ebab95e5db (patch) | |
| tree | 095f0406c69efbd07f11a863b324f0d387e6f55b /kernel/trace/trace_functions_graph.c | |
| parent | ddaa1ae2eb7ffb4e270fdc9593c3d1138f61fb31 (diff) | |
usb: ch9: Add size macro for SSP dev cap descriptor
commit 446fa3a95df1e8b78f25e1babc41e46edd200821 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions
