Skip to contentSkip to conversation

gpu: fix typo

PATCH In review Matteo Croce 2 participants 3 messages Jan 4, 2019 – Jan 7, 2019

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 5/12 gpu: fix typo

Fix spelling mistake: "lenght" -> "length"

---
 drivers/gpu/drm/amd/include/atombios.h   | 2 +-
 drivers/gpu/drm/omapdrm/dss/hdmi4_core.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/include/atombios.h +1 -1
index 7931502fa54f..8ba21747b40a 100644
@@ -4106,7 +4106,7 @@ typedef struct  _ATOM_LCD_MODE_CONTROL_CAP
 typedef struct _ATOM_FAKE_EDID_PATCH_RECORD
 {
   UCHAR ucRecordType;
-  UCHAR ucFakeEDIDLength;       // = 128 means EDID lenght is 128 bytes, otherwise the EDID length = ucFakeEDIDLength*128
+  UCHAR ucFakeEDIDLength;       // = 128 means EDID length is 128 bytes, otherwise the EDID length = ucFakeEDIDLength*128
   UCHAR ucFakeEDIDString[1];    // This actually has ucFakeEdidLength elements.
 } ATOM_FAKE_EDID_PATCH_RECORD;
 
drivers/gpu/drm/omapdrm/dss/hdmi4_core.c +1 -1
index 813ba42f2753..e384b95ad857 100644
@@ -708,7 +708,7 @@ int hdmi4_audio_config(struct hdmi_core_data *core, struct hdmi_wp_data *wp,
 	else
 		acore.i2s_cfg.justification = HDMI_AUDIO_JUSTIFY_RIGHT;
 	/*
-	 * The I2S input word length is twice the lenght given in the IEC-60958
+	 * The I2S input word length is twice the length given in the IEC-60958
 	 * status word. If the word size is greater than
 	 * 20 bits, increment by one.
 	 */
Signature · 6 lines
2.20.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw
Quoted 9 lines · Matteo Croce

Fix spelling mistake: "lenght" -> "length"

---
 drivers/gpu/drm/amd/include/atombios.h   | 2 +-
 drivers/gpu/drm/omapdrm/dss/hdmi4_core.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Hi,

this patch was pulled from a 12 patches series and sent alone, please discard the "05/12" in the subject

Signature · 6 lines
Matteo Croce
per aspera ad upstream
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw
In reply to Matteo Croce
Quoted 6 lines · Matteo Croce

Fix spelling mistake: "lenght" -> "length"

---
 drivers/gpu/drm/amd/include/atombios.h   | 2 +-
 drivers/gpu/drm/omapdrm/dss/hdmi4_core.c | 2 +-

Best to split this up into an amd and omapdrm patch (and send to each respective maintainer), they're maintained in separate trees.

Thanks, Daniel

Quoted 31 lines
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/include/atombios.h +1 -1
index 7931502fa54f..8ba21747b40a 100644
@@ -4106,7 +4106,7 @@ typedef struct  _ATOM_LCD_MODE_CONTROL_CAP
 typedef struct _ATOM_FAKE_EDID_PATCH_RECORD
 {
   UCHAR ucRecordType;
-  UCHAR ucFakeEDIDLength;       // = 128 means EDID lenght is 128 bytes, otherwise the EDID length = ucFakeEDIDLength*128
+  UCHAR ucFakeEDIDLength;       // = 128 means EDID length is 128 bytes, otherwise the EDID length = ucFakeEDIDLength*128
   UCHAR ucFakeEDIDString[1];    // This actually has ucFakeEdidLength elements.
 } ATOM_FAKE_EDID_PATCH_RECORD;
 
drivers/gpu/drm/omapdrm/dss/hdmi4_core.c +1 -1
index 813ba42f2753..e384b95ad857 100644
@@ -708,7 +708,7 @@ int hdmi4_audio_config(struct hdmi_core_data *core, struct hdmi_wp_data *wp,
 	else
 		acore.i2s_cfg.justification = HDMI_AUDIO_JUSTIFY_RIGHT;
 	/*
-	 * The I2S input word length is twice the lenght given in the IEC-60958
+	 * The I2S input word length is twice the length given in the IEC-60958
 	 * status word. If the word size is greater than
 	 * 20 bits, increment by one.
 	 */
Signature · 1 line
2.20.1
Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel