public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-platforms] [PATCH v1 0/1] DisplayLink GOP driver USB msg initialisation
@ 2019-09-10 14:49 Andy Hayes
  2019-09-10 14:49 ` [PATCH v1 1/1] Drivers/DisplayLink/DisplayLinkPkg DisplayLinkGop Andy Hayes
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Hayes @ 2019-09-10 14:49 UTC (permalink / raw)
  To: devel@edk2.groups.io; +Cc: Andy Hayes, Leif Lindholm, Ard Biesheuvel

Corrected initialisation of one of data structures used to transmit USB 
control messages. Mistake had no practical effects but fixing to be on safe 
side.

https://github.com/andy-hayes/edk2-platforms

Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>


Andy Hayes (1):
  Drivers/DisplayLink/DisplayLinkPkg DisplayLinkGop

 Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkGop/UsbTransfer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH v1 1/1] Drivers/DisplayLink/DisplayLinkPkg DisplayLinkGop
  2019-09-10 14:49 [edk2-platforms] [PATCH v1 0/1] DisplayLink GOP driver USB msg initialisation Andy Hayes
@ 2019-09-10 14:49 ` Andy Hayes
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Hayes @ 2019-09-10 14:49 UTC (permalink / raw)
  To: devel@edk2.groups.io; +Cc: Andy Hayes, Leif Lindholm, Ard Biesheuvel

Corrected initialisation of one of data structures used to transmit USB
control messages. Mistake had no practical effects but fixing to be on safe
side.

Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Andy Hayes <andy.hayes@displaylink.com>
---
 Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkGop/UsbTransfer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkGop/UsbTransfer.c b/Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkGop/UsbTransfer.c
index 252293da39d4..9871ab0378ce 100644
--- a/Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkGop/UsbTransfer.c
+++ b/Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkGop/UsbTransfer.c
@@ -107,7 +107,7 @@ DlUsbSendControlWriteMessage (
   UINT32                 UsbStatus;
   EFI_USB_DEVICE_REQUEST UsbRequest;
 
-  ZeroMem (&Request, sizeof (Request));
+  ZeroMem (&UsbRequest, sizeof (UsbRequest));
   UsbRequest.RequestType = USB_REQ_TYPE_VENDOR | USB_TARGET_INTERFACE;
   UsbRequest.Index = Device->InterfaceDescriptor.InterfaceNumber;
   UsbRequest.Request = Request;
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-10 14:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-10 14:49 [edk2-platforms] [PATCH v1 0/1] DisplayLink GOP driver USB msg initialisation Andy Hayes
2019-09-10 14:49 ` [PATCH v1 1/1] Drivers/DisplayLink/DisplayLinkPkg DisplayLinkGop Andy Hayes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox