Commit 784b756d authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman
Browse files

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



This reverts commit 1b474ee0.

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: default avatarJohan Hovold <johan@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/20251222152204.2846-2-johan@kernel.org
parent c8411791
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -37,7 +37,6 @@ static int ucsi_cmd(void *data, u64 val)
	case UCSI_SET_USB:
	case UCSI_SET_POWER_LEVEL:
	case UCSI_READ_POWER_LEVEL:
	case UCSI_SET_PDOS:
		ucsi->message_in_size = 0;
		ret = ucsi_send_command(ucsi, val);
		break;
+0 −1
Original line number Diff line number Diff line
@@ -137,7 +137,6 @@ void ucsi_connector_change(struct ucsi *ucsi, u8 num);
#define UCSI_GET_PD_MESSAGE			0x15
#define UCSI_GET_CAM_CS			0x18
#define UCSI_SET_SINK_PATH			0x1c
#define UCSI_SET_PDOS				0x1d
#define UCSI_READ_POWER_LEVEL			0x1e
#define UCSI_SET_USB				0x21
#define UCSI_GET_LPM_PPM_INFO			0x22