media: cx231xx: Spelling s/diconencted/diconnected/

Message ID 20190731134051.18392-1-geert+renesas@glider.be (mailing list archive)
State Changes Requested, archived
Delegated to: Hans Verkuil
Headers
Series media: cx231xx: Spelling s/diconencted/diconnected/ |

Commit Message

Geert Uytterhoeven July 31, 2019, 1:40 p.m. UTC
  Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/media/usb/cx231xx/cx231xx-cards.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Kieran Bingham Aug. 27, 2019, 2:57 p.m. UTC | #1
Hi Geert,

On 31/07/2019 14:40, Geert Uytterhoeven wrote:
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
>  drivers/media/usb/cx231xx/cx231xx-cards.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/media/usb/cx231xx/cx231xx-cards.c b/drivers/media/usb/cx231xx/cx231xx-cards.c
> index e0d98ba8fdbfa829..47a85d8152b03afa 100644
> --- a/drivers/media/usb/cx231xx/cx231xx-cards.c
> +++ b/drivers/media/usb/cx231xx/cx231xx-cards.c
> @@ -1924,7 +1924,7 @@ static int cx231xx_usb_probe(struct usb_interface *interface,
>  
>  /*
>   * cx231xx_usb_disconnect()
> - * called when the device gets diconencted
> + * called when the device gets diconnected

Shouldn't this perhaps be 'disconnected' ?
--
Kieran


>   * video device will be unregistered on v4l2_close in case it is still open
>   */
>  static void cx231xx_usb_disconnect(struct usb_interface *interface)
>
  
Geert Uytterhoeven Aug. 27, 2019, 5:28 p.m. UTC | #2
Hi Kieran,

Welcome back! ;-)

On Tue, Aug 27, 2019 at 4:57 PM Kieran Bingham
<kieran.bingham+renesas@ideasonboard.com> wrote:
> On 31/07/2019 14:40, Geert Uytterhoeven wrote:
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > ---
> >  drivers/media/usb/cx231xx/cx231xx-cards.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/media/usb/cx231xx/cx231xx-cards.c b/drivers/media/usb/cx231xx/cx231xx-cards.c
> > index e0d98ba8fdbfa829..47a85d8152b03afa 100644
> > --- a/drivers/media/usb/cx231xx/cx231xx-cards.c
> > +++ b/drivers/media/usb/cx231xx/cx231xx-cards.c
> > @@ -1924,7 +1924,7 @@ static int cx231xx_usb_probe(struct usb_interface *interface,
> >
> >  /*
> >   * cx231xx_usb_disconnect()
> > - * called when the device gets diconencted
> > + * called when the device gets diconnected
>
> Shouldn't this perhaps be 'disconnected' ?

Fortunately this has been fixed in v2, cfr. commit 6b338c720c139acd ("media:
Fix various misspellings of disconnected").

Gr{oetje,eeting}s,

                        Geert
  

Patch

diff --git a/drivers/media/usb/cx231xx/cx231xx-cards.c b/drivers/media/usb/cx231xx/cx231xx-cards.c
index e0d98ba8fdbfa829..47a85d8152b03afa 100644
--- a/drivers/media/usb/cx231xx/cx231xx-cards.c
+++ b/drivers/media/usb/cx231xx/cx231xx-cards.c
@@ -1924,7 +1924,7 @@  static int cx231xx_usb_probe(struct usb_interface *interface,
 
 /*
  * cx231xx_usb_disconnect()
- * called when the device gets diconencted
+ * called when the device gets diconnected
  * video device will be unregistered on v4l2_close in case it is still open
  */
 static void cx231xx_usb_disconnect(struct usb_interface *interface)