Skip to content

Commit 784b756

Browse files
jhovoldgregkh
authored andcommitted
Revert "usb: typec: ucsi: Add support for SET_PDOS command"
This reverts commit 1b474ee. 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
1 parent c841179 commit 784b756

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/usb/typec/ucsi/debugfs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ static int ucsi_cmd(void *data, u64 val)
3737
case UCSI_SET_USB:
3838
case UCSI_SET_POWER_LEVEL:
3939
case UCSI_READ_POWER_LEVEL:
40-
case UCSI_SET_PDOS:
4140
ucsi->message_in_size = 0;
4241
ret = ucsi_send_command(ucsi, val);
4342
break;

drivers/usb/typec/ucsi/ucsi.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ void ucsi_connector_change(struct ucsi *ucsi, u8 num);
137137
#define UCSI_GET_PD_MESSAGE 0x15
138138
#define UCSI_GET_CAM_CS 0x18
139139
#define UCSI_SET_SINK_PATH 0x1c
140-
#define UCSI_SET_PDOS 0x1d
141140
#define UCSI_READ_POWER_LEVEL 0x1e
142141
#define UCSI_SET_USB 0x21
143142
#define UCSI_GET_LPM_PPM_INFO 0x22

0 commit comments

Comments
 (0)