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.

usb: typec: ucsi: Rename SET_UOM UCSI command to SET_CCOM

Rename the SET_UOM UCSI command to SET_CCOM as per the UCSI 3.0 spec.

Signed-off-by: Madhu M <madhu.m@intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20250118172455.701348-1-madhu.m@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Madhu M and committed by
Greg Kroah-Hartman
856a2d59 2014c95a

+3 -3
+1 -1
drivers/usb/typec/ucsi/debugfs.c
··· 28 28 ucsi->debugfs->status = 0; 29 29 30 30 switch (UCSI_COMMAND(val)) { 31 - case UCSI_SET_UOM: 31 + case UCSI_SET_CCOM: 32 32 case UCSI_SET_UOR: 33 33 case UCSI_SET_PDR: 34 34 case UCSI_CONNECTOR_RESET:
+1 -1
drivers/usb/typec/ucsi/trace.c
··· 12 12 [UCSI_SET_NOTIFICATION_ENABLE] = "SET_NOTIFICATION_ENABLE", 13 13 [UCSI_GET_CAPABILITY] = "GET_CAPABILITY", 14 14 [UCSI_GET_CONNECTOR_CAPABILITY] = "GET_CONNECTOR_CAPABILITY", 15 - [UCSI_SET_UOM] = "SET_UOM", 15 + [UCSI_SET_CCOM] = "SET_CCOM", 16 16 [UCSI_SET_UOR] = "SET_UOR", 17 17 [UCSI_SET_PDM] = "SET_PDM", 18 18 [UCSI_SET_PDR] = "SET_PDR",
+1 -1
drivers/usb/typec/ucsi/ucsi.h
··· 106 106 #define UCSI_GET_CAPABILITY_SIZE 128 107 107 #define UCSI_GET_CONNECTOR_CAPABILITY 0x07 108 108 #define UCSI_GET_CONNECTOR_CAPABILITY_SIZE 32 109 - #define UCSI_SET_UOM 0x08 109 + #define UCSI_SET_CCOM 0x08 110 110 #define UCSI_SET_UOR 0x09 111 111 #define UCSI_SET_PDM 0x0a 112 112 #define UCSI_SET_PDR 0x0b