usb:gadget Patch simplify usb_decode_set_clear_feature function.
authorPawel Laszczak <pawell@cadence.com>
Tue, 2 Jul 2019 13:37:59 +0000 (14:37 +0100)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 3 Jul 2019 07:46:01 +0000 (10:46 +0300)
commitca888ce7495e4e1578c86c37b0c82f6709da477c
tree60c8c9e5e0944eccdd29a53b44bad123b96b3a73
parent3db1b636c07e15ff7410db782832dc2e7ffd2bce
usb:gadget Patch simplify usb_decode_set_clear_feature function.

Patch adds usb_decode_test_mode and usb_decode_device_feature functions,
which allow to make more readable and simplify the
usb_decode_set_clear_feature function.

Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/debug.c