Skip to content

Commit e4e7b2d

Browse files
saranyagopal1gregkh
authored andcommitted
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: 662a601 ("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>
1 parent 8e5248c commit e4e7b2d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • drivers/usb/typec

drivers/usb/typec/pd.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ static struct device_type source_fixed_supply_type = {
161161

162162
static struct attribute *sink_fixed_supply_attrs[] = {
163163
&dev_attr_dual_role_power.attr,
164-
&dev_attr_usb_suspend_supported.attr,
165164
&dev_attr_unconstrained_power.attr,
166165
&dev_attr_usb_communication_capable.attr,
167166
&dev_attr_dual_role_data.attr,

0 commit comments

Comments
 (0)