File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,12 @@ static int ucsi_read_error(struct ucsi *ucsi)
117
117
case UCSI_ERROR_SWAP_REJECTED :
118
118
dev_warn (ucsi -> dev , "Swap rejected\n" );
119
119
break ;
120
+ case UCSI_ERROR_REVERSE_CURRENT_PROTECTION :
121
+ dev_warn (ucsi -> dev , "Reverse Current Protection detected\n" );
122
+ break ;
123
+ case UCSI_ERROR_SET_SINK_PATH_REJECTED :
124
+ dev_warn (ucsi -> dev , "Set Sink Path rejected\n" );
125
+ break ;
120
126
case UCSI_ERROR_UNDEFINED :
121
127
default :
122
128
dev_err (ucsi -> dev , "unknown error %u\n" , error );
Original file line number Diff line number Diff line change @@ -198,6 +198,8 @@ void ucsi_connector_change(struct ucsi *ucsi, u8 num);
198
198
#define UCSI_ERROR_HARD_RESET BIT(10)
199
199
#define UCSI_ERROR_PPM_POLICY_CONFLICT BIT(11)
200
200
#define UCSI_ERROR_SWAP_REJECTED BIT(12)
201
+ #define UCSI_ERROR_REVERSE_CURRENT_PROTECTION BIT(13)
202
+ #define UCSI_ERROR_SET_SINK_PATH_REJECTED BIT(14)
201
203
202
204
#define UCSI_SET_NEW_CAM_ENTER (x ) (((x) >> 23) & 0x1)
203
205
#define UCSI_SET_NEW_CAM_GET_AM (x ) (((x) >> 24) & 0xff)
You can’t perform that action at this time.
0 commit comments