mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm: Fix trivial typos in comments
@ 2015-03-04  8:30 Yannick Guerrini
  2015-03-05  9:25 ` Daniel Vetter
  0 siblings, 1 reply; 2+ messages in thread
From: Yannick Guerrini @ 2015-03-04  8:30 UTC (permalink / raw)
  To: airlied; +Cc: trivial, dri-devel, linux-kernel, Yannick Guerrini

Change 'pixes' to 'pixels'
Change 'enabel' to 'enable'
Change 'enabeling' to 'enabling'

Signed-off-by: Yannick Guerrini <yguerrini@tomshardware.fr>
---
 drivers/gpu/drm/drm_modes.c   | 4 ++--
 drivers/gpu/drm/i2c/adv7511.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c
index 487d0e3..2cca85f 100644
--- a/drivers/gpu/drm/drm_modes.c
+++ b/drivers/gpu/drm/drm_modes.c
@@ -278,7 +278,7 @@ struct drm_display_mode *drm_cvt_mode(struct drm_device *dev, int hdisplay,
 		hblank = drm_mode->hdisplay * hblank_percentage /
 			 (100 * HV_FACTOR - hblank_percentage);
 		hblank -= hblank % (2 * CVT_H_GRANULARITY);
-		/* 14. find the total pixes per line */
+		/* 14. find the total pixels per line */
 		drm_mode->htotal = drm_mode->hdisplay + hblank;
 		drm_mode->hsync_end = drm_mode->hdisplay + hblank / 2;
 		drm_mode->hsync_start = drm_mode->hsync_end -
@@ -1209,7 +1209,7 @@ EXPORT_SYMBOL(drm_mode_connector_list_update);
  *	<xres>x<yres>[M][R][-<bpp>][@<refresh>][i][m][eDd]
  *
  * The intermediate drm_cmdline_mode structure is required to store additional
- * options from the command line modline like the force-enabel/disable flag.
+ * options from the command line modline like the force-enable/disable flag.
  *
  * Returns:
  * True if a valid modeline has been parsed, false otherwise.
diff --git a/drivers/gpu/drm/i2c/adv7511.c b/drivers/gpu/drm/i2c/adv7511.c
index fa140e0..61aa824 100644
--- a/drivers/gpu/drm/i2c/adv7511.c
+++ b/drivers/gpu/drm/i2c/adv7511.c
@@ -573,7 +573,7 @@ static void adv7511_encoder_dpms(struct drm_encoder *encoder, int mode)
 		 * goes low the adv7511 is reset and the outputs are disabled
 		 * which might cause the monitor to go to standby again. To
 		 * avoid this we ignore the HDP pin for the first few seconds
-		 * after enabeling the output.
+		 * after enabling the output.
 		 */
 		regmap_update_bits(adv7511->regmap, ADV7511_REG_POWER2,
 				   ADV7511_REG_POWER2_HDP_SRC_MASK,
-- 
1.9.5.msysgit.0


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

* Re: [PATCH] drm: Fix trivial typos in comments
  2015-03-04  8:30 [PATCH] drm: Fix trivial typos in comments Yannick Guerrini
@ 2015-03-05  9:25 ` Daniel Vetter
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Vetter @ 2015-03-05  9:25 UTC (permalink / raw)
  To: Yannick Guerrini; +Cc: airlied, trivial, linux-kernel, dri-devel

On Wed, Mar 04, 2015 at 09:30:09AM +0100, Yannick Guerrini wrote:
> Change 'pixes' to 'pixels'
> Change 'enabel' to 'enable'
> Change 'enabeling' to 'enabling'
> 
> Signed-off-by: Yannick Guerrini <yguerrini@tomshardware.fr>

Applied to drm-misc, thanks.
-Daniel

> ---
>  drivers/gpu/drm/drm_modes.c   | 4 ++--
>  drivers/gpu/drm/i2c/adv7511.c | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c
> index 487d0e3..2cca85f 100644
> --- a/drivers/gpu/drm/drm_modes.c
> +++ b/drivers/gpu/drm/drm_modes.c
> @@ -278,7 +278,7 @@ struct drm_display_mode *drm_cvt_mode(struct drm_device *dev, int hdisplay,
>  		hblank = drm_mode->hdisplay * hblank_percentage /
>  			 (100 * HV_FACTOR - hblank_percentage);
>  		hblank -= hblank % (2 * CVT_H_GRANULARITY);
> -		/* 14. find the total pixes per line */
> +		/* 14. find the total pixels per line */
>  		drm_mode->htotal = drm_mode->hdisplay + hblank;
>  		drm_mode->hsync_end = drm_mode->hdisplay + hblank / 2;
>  		drm_mode->hsync_start = drm_mode->hsync_end -
> @@ -1209,7 +1209,7 @@ EXPORT_SYMBOL(drm_mode_connector_list_update);
>   *	<xres>x<yres>[M][R][-<bpp>][@<refresh>][i][m][eDd]
>   *
>   * The intermediate drm_cmdline_mode structure is required to store additional
> - * options from the command line modline like the force-enabel/disable flag.
> + * options from the command line modline like the force-enable/disable flag.
>   *
>   * Returns:
>   * True if a valid modeline has been parsed, false otherwise.
> diff --git a/drivers/gpu/drm/i2c/adv7511.c b/drivers/gpu/drm/i2c/adv7511.c
> index fa140e0..61aa824 100644
> --- a/drivers/gpu/drm/i2c/adv7511.c
> +++ b/drivers/gpu/drm/i2c/adv7511.c
> @@ -573,7 +573,7 @@ static void adv7511_encoder_dpms(struct drm_encoder *encoder, int mode)
>  		 * goes low the adv7511 is reset and the outputs are disabled
>  		 * which might cause the monitor to go to standby again. To
>  		 * avoid this we ignore the HDP pin for the first few seconds
> -		 * after enabeling the output.
> +		 * after enabling the output.
>  		 */
>  		regmap_update_bits(adv7511->regmap, ADV7511_REG_POWER2,
>  				   ADV7511_REG_POWER2_HDP_SRC_MASK,
> -- 
> 1.9.5.msysgit.0
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

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

end of thread, other threads:[~2015-03-05  9:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-04  8:30 [PATCH] drm: Fix trivial typos in comments Yannick Guerrini
2015-03-05  9:25 ` Daniel Vetter

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

all inboxes | Powered by JetHome®