All of lore.kernel.org
 help / color / mirror / Atom feed
* [v2,6/8] usb: typec: fusb302: 2 small misc. fixes
@ 2019-03-07 18:20 Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2019-03-07 18:20 UTC (permalink / raw)
  To: Hans de Goede; +Cc: Greg Kroah-Hartman, Heikki Krogerus, linux-usb

On Thu, Mar 07, 2019 at 05:36:05PM +0100, Hans de Goede wrote:
> Fix a copy and paste error in an error message and a spelling error
> in a comment.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>  drivers/usb/typec/tcpm/fusb302.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/usb/typec/tcpm/fusb302.c b/drivers/usb/typec/tcpm/fusb302.c
> index b74c6ff67aae..23f773d07514 100644
> --- a/drivers/usb/typec/tcpm/fusb302.c
> +++ b/drivers/usb/typec/tcpm/fusb302.c
> @@ -1380,7 +1380,7 @@ static int fusb302_handle_togdone_src(struct fusb302_chip *chip,
>  				     FUSB_REG_MASK_COMP_CHNG);
>  	if (ret < 0) {
>  		fusb302_log(chip,
> -			    "cannot unmask bc_lcl interrupt, ret=%d", ret);
> +			    "cannot unmask comp_chng interrupt, ret=%d", ret);
>  		return ret;
>  	}
>  	chip->intr_comp_chng = true;
> @@ -1555,7 +1555,7 @@ static irqreturn_t fusb302_irq_intn(int irq, void *dev_id)
>  		fusb302_log(chip, "IRQ: COMP_CHNG, comp=%s",
>  			    comp_result ? "true" : "false");
>  		if (comp_result) {
> -			/* cc level > Rd_threashold, detach */
> +			/* cc level > Rd_threshold, detach */
>  			chip->cc1 = TYPEC_CC_OPEN;
>  			chip->cc2 = TYPEC_CC_OPEN;
>  			tcpm_cc_change(chip->tcpm_port);
> -- 
> 2.20.1
>

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

* [v2,6/8] usb: typec: fusb302: 2 small misc. fixes
@ 2019-03-07 16:36 Hans de Goede
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Goede @ 2019-03-07 16:36 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Guenter Roeck, Heikki Krogerus
  Cc: Hans de Goede, linux-usb

Fix a copy and paste error in an error message and a spelling error
in a comment.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/usb/typec/tcpm/fusb302.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/typec/tcpm/fusb302.c b/drivers/usb/typec/tcpm/fusb302.c
index b74c6ff67aae..23f773d07514 100644
--- a/drivers/usb/typec/tcpm/fusb302.c
+++ b/drivers/usb/typec/tcpm/fusb302.c
@@ -1380,7 +1380,7 @@ static int fusb302_handle_togdone_src(struct fusb302_chip *chip,
 				     FUSB_REG_MASK_COMP_CHNG);
 	if (ret < 0) {
 		fusb302_log(chip,
-			    "cannot unmask bc_lcl interrupt, ret=%d", ret);
+			    "cannot unmask comp_chng interrupt, ret=%d", ret);
 		return ret;
 	}
 	chip->intr_comp_chng = true;
@@ -1555,7 +1555,7 @@ static irqreturn_t fusb302_irq_intn(int irq, void *dev_id)
 		fusb302_log(chip, "IRQ: COMP_CHNG, comp=%s",
 			    comp_result ? "true" : "false");
 		if (comp_result) {
-			/* cc level > Rd_threashold, detach */
+			/* cc level > Rd_threshold, detach */
 			chip->cc1 = TYPEC_CC_OPEN;
 			chip->cc2 = TYPEC_CC_OPEN;
 			tcpm_cc_change(chip->tcpm_port);

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

end of thread, other threads:[~2019-03-07 18:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-07 18:20 [v2,6/8] usb: typec: fusb302: 2 small misc. fixes Guenter Roeck
  -- strict thread matches above, loose matches on Subject: below --
2019-03-07 16:36 Hans de Goede

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.