mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
UPSTREAM: usb: typec: fusb302: 2 small misc. fixes
Fix a copy and paste error in an error message and a spelling error
in a comment.
Change-Id: Iedd73b96b75da80a507e6ee7ef0bbb87e5f672d5
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>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit 7511c9a9d3)
This commit is contained in:
parent
be3232364c
commit
c01c6215ad
|
|
@ -1464,7 +1464,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;
|
||||
|
|
@ -1639,7 +1639,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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user