public inbox for dri-devel@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] drivers: Fix typo in comment
@ 2022-01-27  6:51 tangmeng
  2022-01-27  6:56 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: tangmeng @ 2022-01-27  6:51 UTC (permalink / raw)
  To: alexander.deucher, christian.koenig, airlied, daniel, jsarha,
	tomi.valkeinen, linux, Peter.Chen, gregkh, amd-gfx, dri-devel,
	linux-kernel, linux-usb
  Cc: tangmeng

Replace disbale with disable and replace unavaibale with unavailable.

Signed-off-by: tangmeng <tangmeng@uniontech.com>
---
 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c | 2 +-
 drivers/gpu/drm/tilcdc/tilcdc_crtc.c  | 2 +-
 drivers/pcmcia/rsrc_nonstatic.c       | 2 +-
 drivers/usb/chipidea/udc.c            | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c b/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c
index aef9d059ae52..a642c04cf17d 100644
--- a/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c
+++ b/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c
@@ -544,7 +544,7 @@ static int xgpu_vi_mailbox_rcv_irq(struct amdgpu_device *adev,
 {
 	int r;
 
-	/* trigger gpu-reset by hypervisor only if TDR disbaled */
+	/* trigger gpu-reset by hypervisor only if TDR disabled */
 	if (!amdgpu_gpu_recovery) {
 		/* see what event we get */
 		r = xgpu_vi_mailbox_rcv_msg(adev, IDH_FLR_NOTIFICATION);
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c
index 29890d704cb4..b986946b3b10 100644
--- a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c
+++ b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c
@@ -996,7 +996,7 @@ irqreturn_t tilcdc_crtc_irq(struct drm_crtc *crtc)
 	if (stat & LCDC_FRAME_DONE) {
 		tilcdc_crtc->frame_done = true;
 		wake_up(&tilcdc_crtc->frame_done_wq);
-		/* rev 1 lcdc appears to hang if irq is not disbaled here */
+		/* rev 1 lcdc appears to hang if irq is not disabled here */
 		if (priv->rev == 1)
 			tilcdc_clear(dev, LCDC_RASTER_CTRL_REG,
 				     LCDC_V1_FRAME_DONE_INT_ENA);
diff --git a/drivers/pcmcia/rsrc_nonstatic.c b/drivers/pcmcia/rsrc_nonstatic.c
index 6b6c578b5f92..ad1141fddb4c 100644
--- a/drivers/pcmcia/rsrc_nonstatic.c
+++ b/drivers/pcmcia/rsrc_nonstatic.c
@@ -394,7 +394,7 @@ static int do_validate_mem(struct pcmcia_socket *s,
  * do_mem_probe() checks a memory region for use by the PCMCIA subsystem.
  * To do so, the area is split up into sensible parts, and then passed
  * into the @validate() function. Only if @validate() and @fallback() fail,
- * the area is marked as unavaibale for use by the PCMCIA subsystem. The
+ * the area is marked as unavailable for use by the PCMCIA subsystem. The
  * function returns the size of the usable memory area.
  */
 static int do_mem_probe(struct pcmcia_socket *s, u_long base, u_long num,
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
index f9ca5010f65b..dc6c96e04bcf 100644
--- a/drivers/usb/chipidea/udc.c
+++ b/drivers/usb/chipidea/udc.c
@@ -2152,7 +2152,7 @@ static void udc_id_switch_for_host(struct ci_hdrc *ci)
 {
 	/*
 	 * host doesn't care B_SESSION_VALID event
-	 * so clear and disbale BSV irq
+	 * so clear and disable BSV irq
 	 */
 	if (ci->is_otg)
 		hw_write_otgsc(ci, OTGSC_BSVIE | OTGSC_BSVIS, OTGSC_BSVIS);
-- 
2.20.1




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

* Re: [PATCH] drivers: Fix typo in comment
  2022-01-27  6:51 [PATCH] drivers: Fix typo in comment tangmeng
@ 2022-01-27  6:56 ` Greg KH
  2022-01-27 10:06   ` Daniel Vetter
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2022-01-27  6:56 UTC (permalink / raw)
  To: tangmeng
  Cc: Peter.Chen, amd-gfx, airlied, dri-devel, linux-usb, linux-kernel,
	jsarha, tomi.valkeinen, linux, alexander.deucher,
	christian.koenig

On Thu, Jan 27, 2022 at 02:51:56PM +0800, tangmeng wrote:
> Replace disbale with disable and replace unavaibale with unavailable.
> 
> Signed-off-by: tangmeng <tangmeng@uniontech.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c | 2 +-
>  drivers/gpu/drm/tilcdc/tilcdc_crtc.c  | 2 +-
>  drivers/pcmcia/rsrc_nonstatic.c       | 2 +-
>  drivers/usb/chipidea/udc.c            | 2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)

This needs to be broken up per-subsystem, thanks.

greg k-h

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

* Re: [PATCH] drivers: Fix typo in comment
  2022-01-27  6:56 ` Greg KH
@ 2022-01-27 10:06   ` Daniel Vetter
  2022-01-27 10:10     ` =?gb18030?B?zMDDzw==?=
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Vetter @ 2022-01-27 10:06 UTC (permalink / raw)
  To: Greg KH
  Cc: Peter.Chen, amd-gfx, airlied, tangmeng, dri-devel, linux-usb,
	linux-kernel, jsarha, tomi.valkeinen, linux, alexander.deucher,
	christian.koenig

On Thu, Jan 27, 2022 at 07:56:05AM +0100, Greg KH wrote:
> On Thu, Jan 27, 2022 at 02:51:56PM +0800, tangmeng wrote:
> > Replace disbale with disable and replace unavaibale with unavailable.
> > 
> > Signed-off-by: tangmeng <tangmeng@uniontech.com>
> > ---
> >  drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c | 2 +-
> >  drivers/gpu/drm/tilcdc/tilcdc_crtc.c  | 2 +-
> >  drivers/pcmcia/rsrc_nonstatic.c       | 2 +-
> >  drivers/usb/chipidea/udc.c            | 2 +-
> >  4 files changed, 4 insertions(+), 4 deletions(-)
> 
> This needs to be broken up per-subsystem, thanks.

For drm please also split it per-driver, so one patch per file you change
here.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

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

* Re: [PATCH] drivers: Fix typo in comment
  2022-01-27 10:06   ` Daniel Vetter
@ 2022-01-27 10:10     ` =?gb18030?B?zMDDzw==?=
  0 siblings, 0 replies; 4+ messages in thread
From: =?gb18030?B?zMDDzw==?= @ 2022-01-27 10:10 UTC (permalink / raw)
  To: =?gb18030?B?RGFuaWVsIFZldHRlcg==?=, =?gb18030?B?R3JlZyBLSA==?=
  Cc: =?gb18030?B?UGV0ZXIuQ2hlbg==?=, =?gb18030?B?YW1kLWdmeA==?=,
	=?gb18030?B?YWlybGllZA==?=, =?gb18030?B?ZHJpLWRldmVs?=,
	=?gb18030?B?bGludXgtdXNi?=, =?gb18030?B?bGludXgta2VybmVs?=,
	=?gb18030?B?anNhcmhh?=, =?gb18030?B?dG9taS52YWxrZWluZW4=?=,
	=?gb18030?B?bGludXg=?=, =?gb18030?B?YWxleGFuZGVyLmRldWNoZXI=?=,
	=?gb18030?B?Y2hyaXN0aWFuLmtvZW5pZw==?=

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 1573 bytes --]

Thanks, I have split&nbsp;it.



 ·¢×ÔÎ񵀮óҵ΢ÐÅ     
 
 &nbsp;


 ----------Reply to Message----------
 On Thu, Jan 27, 2022 18:06 PM Daniel Vetter<daniel@ffwll.ch&gt; wrote:

  On&nbsp;Thu,&nbsp;Jan&nbsp;27,&nbsp;2022&nbsp;at&nbsp;07:56:05AM&nbsp;+0100,&nbsp;Greg&nbsp;KH&nbsp;wrote:For&nbsp;drm&nbsp;please&nbsp;also&nbsp;split&nbsp;it&nbsp;per-driver,&nbsp;so&nbsp;one&nbsp;patch&nbsp;per&nbsp;file&nbsp;you&nbsp;changehere.-Daniel--&nbsp;Daniel&nbsp;VetterSoftware&nbsp;Engineer,&nbsp;Intel&nbsp;Corporationhttp://blog.ffwll.ch
&gt;&nbsp;On&nbsp;Thu,&nbsp;Jan&nbsp;27,&nbsp;2022&nbsp;at&nbsp;02:51:56PM&nbsp;+0800,&nbsp;tangmeng&nbsp;wrote:
&gt;&nbsp;&gt;&nbsp;Replace&nbsp;disbale&nbsp;with&nbsp;disable&nbsp;and&nbsp;replace&nbsp;unavaibale&nbsp;with&nbsp;unavailable.
&gt;&nbsp;&gt;&nbsp;
&gt;&nbsp;&gt;&nbsp;Signed-off-by:&nbsp;tangmeng&nbsp;<tangmeng@uniontech.com&gt;
&gt;&nbsp;&gt;&nbsp;---
&gt;&nbsp;&gt;&nbsp;&nbsp;drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c&nbsp;|&nbsp;2&nbsp;+-
&gt;&nbsp;&gt;&nbsp;&nbsp;drivers/gpu/drm/tilcdc/tilcdc_crtc.c&nbsp;&nbsp;|&nbsp;2&nbsp;+-
&gt;&nbsp;&gt;&nbsp;&nbsp;drivers/pcmcia/rsrc_nonstatic.c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;2&nbsp;+-
&gt;&nbsp;&gt;&nbsp;&nbsp;drivers/usb/chipidea/udc.c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;2&nbsp;+-
&gt;&nbsp;&gt;&nbsp;&nbsp;4&nbsp;files&nbsp;changed,&nbsp;4&nbsp;insertions(+),&nbsp;4&nbsp;deletions(-)
&gt;&nbsp;
&gt;&nbsp;This&nbsp;needs&nbsp;to&nbsp;be&nbsp;broken&nbsp;up&nbsp;per-subsystem,&nbsp;thanks.

[-- Attachment #2: Type: text/html, Size: 2540 bytes --]

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

end of thread, other threads:[~2022-01-27 14:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-27  6:51 [PATCH] drivers: Fix typo in comment tangmeng
2022-01-27  6:56 ` Greg KH
2022-01-27 10:06   ` Daniel Vetter
2022-01-27 10:10     ` =?gb18030?B?zMDDzw==?=

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