diff options
author | 2014-09-29 15:18:20 -0500 | |
---|---|---|
committer | 2014-10-20 15:58:49 -0500 | |
commit | 3985f3ab0834edf014ebd19192d9dd77422dea67 (patch) | |
tree | a313a9605f7dd3be7dc73ad382067bbf2486b728 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: gadget: function: uac2: add a release method (diff) | |
download | wireguard-linux-3985f3ab0834edf014ebd19192d9dd77422dea67.tar.xz wireguard-linux-3985f3ab0834edf014ebd19192d9dd77422dea67.zip |
usb: gadget: function: f_obex: fix Interface Descriptor Test
On USB20CV's Interface Descriptor Test, a series
of SetInterface/GetInterface requests are issued
and gadget driver is required to always return
correct alternate setting.
In one step of the test, g_serial with f_obex
was returning the wrong value (1 instead of 0).
In order to fix this, we will now hold currently
selected alternate setting inside our struct f_obex
and just return that from our ->get_alt()
implementation.
Note that his also simplifies the code a bit.
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