Patch "usb: typec: pd: Remove usb_suspend_supported sysfs from sink PDO" has been added to the 6.2-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    usb: typec: pd: Remove usb_suspend_supported sysfs from sink PDO

to the 6.2-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     usb-typec-pd-remove-usb_suspend_supported-sysfs-from-sink-pdo.patch
and it can be found in the queue-6.2 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From e4e7b2dc27c4bb877d850eaff69d41410b2f4237 Mon Sep 17 00:00:00 2001
From: Saranya Gopal <saranya.gopal@xxxxxxxxx>
Date: Tue, 14 Feb 2023 17:15:42 +0530
Subject: usb: typec: pd: Remove usb_suspend_supported sysfs from sink PDO

From: Saranya Gopal <saranya.gopal@xxxxxxxxx>

commit e4e7b2dc27c4bb877d850eaff69d41410b2f4237 upstream.

As per USB PD specification, 28th bit of fixed supply sink PDO
represents "higher capability" attribute and not "usb suspend
supported" attribute. So, this patch removes the usb_suspend_supported
attribute from sink PDO.

Fixes: 662a60102c12 ("usb: typec: Separate USB Power Delivery from USB Type-C")
Cc: stable <stable@xxxxxxxxxx>
Reported-by: Rajaram Regupathy <rajaram.regupathy@xxxxxxxxx>
Signed-off-by: Saranya Gopal <saranya.gopal@xxxxxxxxx>
Reviewed-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>
Link: https://lore.kernel.org/r/20230214114543.205103-1-saranya.gopal@xxxxxxxxx
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/usb/typec/pd.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/usb/typec/pd.c
+++ b/drivers/usb/typec/pd.c
@@ -161,7 +161,6 @@ static struct device_type source_fixed_s
 
 static struct attribute *sink_fixed_supply_attrs[] = {
 	&dev_attr_dual_role_power.attr,
-	&dev_attr_usb_suspend_supported.attr,
 	&dev_attr_unconstrained_power.attr,
 	&dev_attr_usb_communication_capable.attr,
 	&dev_attr_dual_role_data.attr,


Patches currently in stable-queue which might be from saranya.gopal@xxxxxxxxx are

queue-6.2/usb-typec-pd-remove-usb_suspend_supported-sysfs-from-sink-pdo.patch



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux