Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Revert "usb: typec: ucsi: Add support for SET_PDOS command"

This reverts commit 1b474ee01fbb73b1365adbf9b3067f7375e471ee.

The new buffer management code that this feature relies on is broken so
revert for now.

The interface for writing data and support for UCSI_SET_PDOS looks like
it could use some more thought as well.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/20251222152204.2846-2-johan@kernel.org

authored by

Johan Hovold and committed by
Greg Kroah-Hartman
784b756d c8411791

-2
-1
drivers/usb/typec/ucsi/debugfs.c
··· 37 37 case UCSI_SET_USB: 38 38 case UCSI_SET_POWER_LEVEL: 39 39 case UCSI_READ_POWER_LEVEL: 40 - case UCSI_SET_PDOS: 41 40 ucsi->message_in_size = 0; 42 41 ret = ucsi_send_command(ucsi, val); 43 42 break;
-1
drivers/usb/typec/ucsi/ucsi.h
··· 137 137 #define UCSI_GET_PD_MESSAGE 0x15 138 138 #define UCSI_GET_CAM_CS 0x18 139 139 #define UCSI_SET_SINK_PATH 0x1c 140 - #define UCSI_SET_PDOS 0x1d 141 140 #define UCSI_READ_POWER_LEVEL 0x1e 142 141 #define UCSI_SET_USB 0x21 143 142 #define UCSI_GET_LPM_PPM_INFO 0x22