]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: common: Patch simplify usb_decode_set_clear_feature function.
authorPawel Laszczak <pawell@cadence.com>
Mon, 26 Aug 2019 11:19:28 +0000 (12:19 +0100)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 29 Aug 2019 07:54:35 +0000 (10:54 +0300)
commit010665b44d596d1b2aa0249b0e093fd3df774f6e
treedf2bb2d2a048ca674e3c014ab186bbda43ec68c1
parent91f255a26bce80d27b5f3dcbb0333b852b5dbe2c
usb: common: 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/common/debug.c