Re: [PATCH] platform/chrome: cros_ec_typec: Tolerate unrecognized mux flags
From: Benson Leung
Date: Thu Dec 10 2020 - 16:20:29 EST
On Thu, 5 Nov 2020 18:03:05 -0800, Prashant Malani wrote:
> 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.
Applied, thanks!
[1/1] platform/chrome: cros_ec_typec: Tolerate unrecognized mux flags
commit: 6ae9b5ffcaeba64c290dfb8bd7b0194b1fdf0c92
Best regards,
--
Benson Leung
Staff Software Engineer
Chrome OS Kernel
Google Inc.
bleung@xxxxxxxxxx
Chromium OS Project
bleung@xxxxxxxxxxxx
Attachment:
signature.asc
Description: PGP signature