[05/12] gpu: fix typo

Submitted by Matteo Croce on Jan. 4, 2019, 9:41 p.m.

Details

Message ID 20190104214115.29018-1-mcroce@redhat.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in DRI devel

Not browsing as part of any series.

Commit Message

Matteo Croce Jan. 4, 2019, 9:41 p.m.
Fix spelling mistake: "lenght" -> "length"

Signed-off-by: Matteo Croce <mcroce@redhat.com>
---
 drivers/gpu/drm/amd/include/atombios.h   | 2 +-
 drivers/gpu/drm/omapdrm/dss/hdmi4_core.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/amd/include/atombios.h b/drivers/gpu/drm/amd/include/atombios.h
index 7931502fa54f..8ba21747b40a 100644
--- a/drivers/gpu/drm/amd/include/atombios.h
+++ b/drivers/gpu/drm/amd/include/atombios.h
@@ -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;
 
diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi4_core.c b/drivers/gpu/drm/omapdrm/dss/hdmi4_core.c
index 813ba42f2753..e384b95ad857 100644
--- a/drivers/gpu/drm/omapdrm/dss/hdmi4_core.c
+++ b/drivers/gpu/drm/omapdrm/dss/hdmi4_core.c
@@ -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.
 	 */

Comments

On Fri, Jan 4, 2019 at 10:41 PM Matteo Croce <mcroce@redhat.com> wrote:
>
> Fix spelling mistake: "lenght" -> "length"
>
> Signed-off-by: Matteo Croce <mcroce@redhat.com>
> ---
>  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
On Fri, Jan 04, 2019 at 10:41:15PM +0100, Matteo Croce wrote:
> Fix spelling mistake: "lenght" -> "length"
> 
> Signed-off-by: Matteo Croce <mcroce@redhat.com>
> ---
>  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

>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/include/atombios.h b/drivers/gpu/drm/amd/include/atombios.h
> index 7931502fa54f..8ba21747b40a 100644
> --- a/drivers/gpu/drm/amd/include/atombios.h
> +++ b/drivers/gpu/drm/amd/include/atombios.h
> @@ -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;
>  
> diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi4_core.c b/drivers/gpu/drm/omapdrm/dss/hdmi4_core.c
> index 813ba42f2753..e384b95ad857 100644
> --- a/drivers/gpu/drm/omapdrm/dss/hdmi4_core.c
> +++ b/drivers/gpu/drm/omapdrm/dss/hdmi4_core.c
> @@ -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.
>  	 */
> -- 
> 2.20.1
>