diff options
author | Prashant Malani <[email protected]> | 2020-11-05 18:03:05 -0800 |
---|---|---|
committer | Benson Leung <[email protected]> | 2020-12-10 13:05:16 -0800 |
commit | 6ae9b5ffcaeba64c290dfb8bd7b0194b1fdf0c92 (patch) | |
tree | a404cf27f67b19c230ad77c976725a5fec924ead /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | de0f49487db3667f5204dcec6d3482c9bd1a0a30 (diff) |
platform/chrome: cros_ec_typec: Tolerate unrecognized mux flags
On occasion, the Chrome Embedded Controller (EC) can send a mux
configuration which doesn't map to a particular data mode. For instance,
dedicated Type C chargers, when connected, may cause only
USB_PD_MUX_POLARITY_INVERTED to be set. This is a valid flag combination
and should not lead to a driver abort.
Modify the mux configuration handling to not return an error when an
unrecognized mux flag combination is encountered. Concordantly, make the
ensuing print a debug level print so as to not pollute the kernel logs.
Cc: Keith Short <[email protected]>
Signed-off-by: Prashant Malani <[email protected]>
Acked-by: Heikki Krogerus <[email protected]>
Signed-off-by: Benson Leung <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions