projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
702ad49
)
usb: typec: fusb302: 2 small misc. fixes
author
Hans de Goede
<hdegoede@redhat.com>
Mon, 11 Mar 2019 10:48:16 +0000
(11:48 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 19 Mar 2019 14:06:12 +0000
(15:06 +0100)
Fix a copy and paste error in an error message and a spelling error
in a comment.
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/fusb302.c
patch
|
blob
|
history
diff --git
a/drivers/usb/typec/tcpm/fusb302.c
b/drivers/usb/typec/tcpm/fusb302.c
index fa04d4a9bfcb268f12de5dcc14a02610056e716e..168147e5e0fbb89c614c679d2f3bb3782474d551 100644
(file)
--- 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_thre
a
shold, detach */
+ /* cc level > Rd_threshold, detach */
chip->cc1 = TYPEC_CC_OPEN;
chip->cc2 = TYPEC_CC_OPEN;
tcpm_cc_change(chip->tcpm_port);