* [PATCH v1] usb: typec: Fix typo in comment
@ 2024-09-19 1:46 Yu Jiaoliang
2024-09-19 8:47 ` Dmitry Baryshkov
2024-09-25 11:18 ` Heikki Krogerus
0 siblings, 2 replies; 3+ messages in thread
From: Yu Jiaoliang @ 2024-09-19 1:46 UTC (permalink / raw)
To: Heikki Krogerus, Greg Kroah-Hartman, RD Babiera, Guenter Roeck,
Badhri Jagan Sridharan, Kyle Tso, Xu Yang, linux-usb,
linux-kernel
Cc: opensource.kernel
Fix typos:
reseet->reset,
reaach->reach,
compatiple->compatible.
Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>
---
drivers/usb/typec/altmodes/displayport.c | 2 +-
drivers/usb/typec/tcpm/tcpm.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/typec/altmodes/displayport.c b/drivers/usb/typec/altmodes/displayport.c
index 92cc1b136120..2f03190a9873 100644
--- a/drivers/usb/typec/altmodes/displayport.c
+++ b/drivers/usb/typec/altmodes/displayport.c
@@ -729,7 +729,7 @@ int dp_altmode_probe(struct typec_altmode *alt)
/* FIXME: Port can only be DFP_U. */
- /* Make sure we have compatiple pin configurations */
+ /* Make sure we have compatible pin configurations */
if (!(DP_CAP_PIN_ASSIGN_DFP_D(port->vdo) &
DP_CAP_PIN_ASSIGN_UFP_D(alt->vdo)) &&
!(DP_CAP_PIN_ASSIGN_UFP_D(port->vdo) &
diff --git a/drivers/usb/typec/tcpm/tcpm.c b/drivers/usb/typec/tcpm/tcpm.c
index fc619478200f..b6486beda6ab 100644
--- a/drivers/usb/typec/tcpm/tcpm.c
+++ b/drivers/usb/typec/tcpm/tcpm.c
@@ -5270,7 +5270,7 @@ static void run_state_machine(struct tcpm_port *port)
tcpm_set_state(port, SRC_UNATTACHED, PD_T_PS_SOURCE_ON);
break;
case SNK_HARD_RESET_SINK_OFF:
- /* Do not discharge/disconnect during hard reseet */
+ /* Do not discharge/disconnect during hard reset */
tcpm_set_auto_vbus_discharge_threshold(port, TYPEC_PWR_MODE_USB, false, 0);
memset(&port->pps_data, 0, sizeof(port->pps_data));
tcpm_set_vconn(port, false);
@@ -6066,7 +6066,7 @@ static void _tcpm_pd_vbus_off(struct tcpm_port *port)
break;
case SNK_ATTACH_WAIT:
case SNK_DEBOUNCED:
- /* Do nothing, as TCPM is still waiting for vbus to reaach VSAFE5V to connect */
+ /* Do nothing, as TCPM is still waiting for vbus to reach VSAFE5V to connect */
break;
case SNK_NEGOTIATE_CAPABILITIES:
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1] usb: typec: Fix typo in comment
2024-09-19 1:46 [PATCH v1] usb: typec: Fix typo in comment Yu Jiaoliang
@ 2024-09-19 8:47 ` Dmitry Baryshkov
2024-09-25 11:18 ` Heikki Krogerus
1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Baryshkov @ 2024-09-19 8:47 UTC (permalink / raw)
To: Yu Jiaoliang
Cc: Heikki Krogerus, Greg Kroah-Hartman, RD Babiera, Guenter Roeck,
Badhri Jagan Sridharan, Kyle Tso, Xu Yang, linux-usb,
linux-kernel, opensource.kernel
On Thu, Sep 19, 2024 at 09:46:26AM GMT, Yu Jiaoliang wrote:
> Fix typos:
> reseet->reset,
> reaach->reach,
> compatiple->compatible.
>
> Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>
> ---
> drivers/usb/typec/altmodes/displayport.c | 2 +-
> drivers/usb/typec/tcpm/tcpm.c | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1] usb: typec: Fix typo in comment
2024-09-19 1:46 [PATCH v1] usb: typec: Fix typo in comment Yu Jiaoliang
2024-09-19 8:47 ` Dmitry Baryshkov
@ 2024-09-25 11:18 ` Heikki Krogerus
1 sibling, 0 replies; 3+ messages in thread
From: Heikki Krogerus @ 2024-09-25 11:18 UTC (permalink / raw)
To: Yu Jiaoliang
Cc: Greg Kroah-Hartman, RD Babiera, Guenter Roeck,
Badhri Jagan Sridharan, Kyle Tso, Xu Yang, linux-usb,
linux-kernel, opensource.kernel
On Thu, Sep 19, 2024 at 09:46:26AM +0800, Yu Jiaoliang wrote:
> Fix typos:
> reseet->reset,
> reaach->reach,
> compatiple->compatible.
>
> Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
> ---
> drivers/usb/typec/altmodes/displayport.c | 2 +-
> drivers/usb/typec/tcpm/tcpm.c | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/usb/typec/altmodes/displayport.c b/drivers/usb/typec/altmodes/displayport.c
> index 92cc1b136120..2f03190a9873 100644
> --- a/drivers/usb/typec/altmodes/displayport.c
> +++ b/drivers/usb/typec/altmodes/displayport.c
> @@ -729,7 +729,7 @@ int dp_altmode_probe(struct typec_altmode *alt)
>
> /* FIXME: Port can only be DFP_U. */
>
> - /* Make sure we have compatiple pin configurations */
> + /* Make sure we have compatible pin configurations */
> if (!(DP_CAP_PIN_ASSIGN_DFP_D(port->vdo) &
> DP_CAP_PIN_ASSIGN_UFP_D(alt->vdo)) &&
> !(DP_CAP_PIN_ASSIGN_UFP_D(port->vdo) &
> diff --git a/drivers/usb/typec/tcpm/tcpm.c b/drivers/usb/typec/tcpm/tcpm.c
> index fc619478200f..b6486beda6ab 100644
> --- a/drivers/usb/typec/tcpm/tcpm.c
> +++ b/drivers/usb/typec/tcpm/tcpm.c
> @@ -5270,7 +5270,7 @@ static void run_state_machine(struct tcpm_port *port)
> tcpm_set_state(port, SRC_UNATTACHED, PD_T_PS_SOURCE_ON);
> break;
> case SNK_HARD_RESET_SINK_OFF:
> - /* Do not discharge/disconnect during hard reseet */
> + /* Do not discharge/disconnect during hard reset */
> tcpm_set_auto_vbus_discharge_threshold(port, TYPEC_PWR_MODE_USB, false, 0);
> memset(&port->pps_data, 0, sizeof(port->pps_data));
> tcpm_set_vconn(port, false);
> @@ -6066,7 +6066,7 @@ static void _tcpm_pd_vbus_off(struct tcpm_port *port)
> break;
> case SNK_ATTACH_WAIT:
> case SNK_DEBOUNCED:
> - /* Do nothing, as TCPM is still waiting for vbus to reaach VSAFE5V to connect */
> + /* Do nothing, as TCPM is still waiting for vbus to reach VSAFE5V to connect */
> break;
>
> case SNK_NEGOTIATE_CAPABILITIES:
> --
> 2.34.1
--
heikki
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-09-25 11:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-19 1:46 [PATCH v1] usb: typec: Fix typo in comment Yu Jiaoliang
2024-09-19 8:47 ` Dmitry Baryshkov
2024-09-25 11:18 ` Heikki Krogerus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®