diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-09-22 12:25:28 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-10-31 11:15:34 +0200 |
commit | 5999914f227b20addf01297b3df24be6b4161f69 (patch) | |
tree | aec10869581a784f575a6e6c15228b90d4e3a54a /drivers/soc | |
parent | 6b9018d4c1e5c958625be94a160a5984351d4632 (diff) |
usb: dwc3: gadget: properly check ep cmd
The cmd argument we pass to
dwc3_send_gadget_ep_cmd() could contain extra
arguments embedded. When checking for StartTransfer
command, we need to make sure to match only lower 4
bits which contain the actual command and ignore the
rest.
Reported-by: Janusz Dziedzic <januszx.dziedzic@intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions