linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 1/1 RESEND] usb: typec: stusb160x: fix power-opmode property with typec-power-opmode
@ 2020-11-27 13:17 Amelie Delaunay
  2020-11-27 13:45 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 3+ messages in thread
From: Amelie Delaunay @ 2020-11-27 13:17 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Heikki Krogerus
  Cc: linux-usb, linux-kernel, linux-stm32, Amelie Delaunay, Fabrice Gasnier

Device tree property is named typec-power-opmode, not power-opmode.

Fixes: da0cb6310094 ("usb: typec: add support for STUSB160x Type-C controller family")
Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
---
 drivers/usb/typec/stusb160x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/typec/stusb160x.c b/drivers/usb/typec/stusb160x.c
index 2a618f02f4f1..d21750bbbb44 100644
--- a/drivers/usb/typec/stusb160x.c
+++ b/drivers/usb/typec/stusb160x.c
@@ -562,7 +562,7 @@ static int stusb160x_get_fw_caps(struct stusb160x *chip,
 	 * Supported power operation mode can be configured through device tree
 	 * else it is read from chip registers in stusb160x_get_caps.
 	 */
-	ret = fwnode_property_read_string(fwnode, "power-opmode", &cap_str);
+	ret = fwnode_property_read_string(fwnode, "typec-power-opmode", &cap_str);
 	if (!ret) {
 		ret = typec_find_pwr_opmode(cap_str);
 		/* Power delivery not yet supported */
-- 
2.17.1


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

* Re: [PATCH v5 1/1 RESEND] usb: typec: stusb160x: fix power-opmode property with typec-power-opmode
  2020-11-27 13:17 [PATCH v5 1/1 RESEND] usb: typec: stusb160x: fix power-opmode property with typec-power-opmode Amelie Delaunay
@ 2020-11-27 13:45 ` Greg Kroah-Hartman
  2020-11-27 13:46   ` [Linux-stm32] " Amelie DELAUNAY
  0 siblings, 1 reply; 3+ messages in thread
From: Greg Kroah-Hartman @ 2020-11-27 13:45 UTC (permalink / raw)
  To: Amelie Delaunay
  Cc: Heikki Krogerus, linux-usb, linux-kernel, linux-stm32, Fabrice Gasnier

On Fri, Nov 27, 2020 at 02:17:35PM +0100, Amelie Delaunay wrote:
> Device tree property is named typec-power-opmode, not power-opmode.
> 
> Fixes: da0cb6310094 ("usb: typec: add support for STUSB160x Type-C controller family")
> Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
> ---
>  drivers/usb/typec/stusb160x.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Now applied, sorry for missing it before.

greg k-h

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

* Re: [Linux-stm32] [PATCH v5 1/1 RESEND] usb: typec: stusb160x: fix power-opmode property with typec-power-opmode
  2020-11-27 13:45 ` Greg Kroah-Hartman
@ 2020-11-27 13:46   ` Amelie DELAUNAY
  0 siblings, 0 replies; 3+ messages in thread
From: Amelie DELAUNAY @ 2020-11-27 13:46 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Amelie Delaunay
  Cc: Heikki Krogerus, linux-stm32, linux-usb, Fabrice Gasnier, linux-kernel



On 11/27/20 2:45 PM, Greg Kroah-Hartman wrote:
> On Fri, Nov 27, 2020 at 02:17:35PM +0100, Amelie Delaunay wrote:
>> Device tree property is named typec-power-opmode, not power-opmode.
>>
>> Fixes: da0cb6310094 ("usb: typec: add support for STUSB160x Type-C controller family")
>> Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
>> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
>> ---
>>   drivers/usb/typec/stusb160x.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Now applied, sorry for missing it before.

Thanks!

Amelie

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

end of thread, other threads:[~2020-11-27 13:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-27 13:17 [PATCH v5 1/1 RESEND] usb: typec: stusb160x: fix power-opmode property with typec-power-opmode Amelie Delaunay
2020-11-27 13:45 ` Greg Kroah-Hartman
2020-11-27 13:46   ` [Linux-stm32] " Amelie DELAUNAY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).