aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2017-01-31 13:24:54 +0200
committerMister Oyster <oysterized@gmail.com>2017-07-04 11:51:11 +0200
commit9876743683574dd5d4c223e64150946f945640ca (patch)
treebe0c074b221281439d435d374bd09515490953e3 /lib/debugobjects.c
parent149085257c7dad62db513c87912cce4291c15959 (diff)
usb: dwc3: gadget: make Set Endpoint Configuration macros safe
commit 7369090a9fb57c3fc705ce355d2e4523a5a24716 upstream. Some gadget drivers are bad, bad boys. We notice that ADB was passing bad Burst Size which caused top bits of param0 to be overwritten which confused DWC3 when running this command. In order to avoid future issues, we're going to make sure values passed by macros are always safe for the controller. Note that ADB still needs a fix to *not* pass bad values. Reported-by: Mohamed Abbas <mohamed.abbas@intel.com> Sugested-by: Adam Andruszak <adam.andruszak@intel.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions