summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.uni
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2022-02-24 14:38:18 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-03-03 09:25:50 +0300
commit589d51df260465e2561979b8a988e77b0f32a6e8 (patch)
treeaffacb59c008e0ff72b4bdacaf8845fa8e4e0092 /MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.uni
parentb422b0fcf92dd4103dfc16d8d5f77fbec2d8c5b9 (diff)
downloadedk2-589d51df260465e2561979b8a988e77b0f32a6e8.tar.xz
MdeModulePkg/Usb/Keyboard.c: Don't request protocol before setting
No need to check the interface protocol then conditionally setting, just set it to BOOT_PROTOCOL and check for error. This is what Linux does for HID devices as some don't follow the USB spec. One example is the Aspeed BMC HID keyboard device, which adds a massive boot delay without this patch as it doesn't respond to 'GetProtocolRequest'. Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Ray Ni <ray.ni@intel.com> Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Signed-off-by: Sean Rhodes <sean@starlabs.systems> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.uni')
0 files changed, 0 insertions, 0 deletions