diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2015-03-03 12:52:25 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-03-10 23:33:39 +0300 |
commit | 636bc0ed271d996e18365345e9c00fc712edc610 (patch) | |
tree | e1f3e81a0266dbb7de5b1643674211c1b465de17 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d7239f4c6daeb7a987a0e6f37a3ea24b37f7c208 (diff) | |
download | linux-636bc0ed271d996e18365345e9c00fc712edc610.tar.xz |
usb: gadget: printer: add req_match for printer function
Verify that a given usb_ctrlrequest is meant for printer function.
The following parts of the request are tested:
- bmRequestType:Data transfer direction
- bmRequestType:Type
- bmRequestType:Recipient
- bRequest
- wValue for bRequest 1 and 2
- wLength
Additionally, the request is considered meant for this function
iff the decoded interface number matches dev->interface.
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions