diff mbox series

[v5,1/1,RESEND] usb: typec: stusb160x: fix power-opmode property with typec-power-opmode

Message ID 20201127131735.28280-1-amelie.delaunay@st.com (mailing list archive)
State Accepted
Commit 484cfbe5fb61469a5f5a276258a8b3973164b56f
Headers show
Series [v5,1/1,RESEND] usb: typec: stusb160x: fix power-opmode property with typec-power-opmode | expand

Commit Message

Amelie Delaunay Nov. 27, 2020, 1:17 p.m. UTC
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(-)

Comments

Greg KH Nov. 27, 2020, 1:45 p.m. UTC | #1
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
Amelie Delaunay Nov. 27, 2020, 1:46 p.m. UTC | #2
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
diff mbox series

Patch

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 */