mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 16:12:02 +00:00
usb: typec: pd: Remove usb_suspend_supported sysfs from sink PDO
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: 662a60102c
("usb: typec: Separate USB Power Delivery from USB Type-C")
Cc: stable <stable@kernel.org>
Reported-by: Rajaram Regupathy <rajaram.regupathy@intel.com>
Signed-off-by: Saranya Gopal <saranya.gopal@intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20230214114543.205103-1-saranya.gopal@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8e5248c3a8
commit
e4e7b2dc27
@ -161,7 +161,6 @@ static struct device_type source_fixed_supply_type = {
|
||||
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user