Re: [PATCH v2 2/4] platform/chrome: cros_ec_typec: Get mux state inside configure_mux

From: Tzung-Bi Shih
Date: Tue Feb 08 2022 - 23:13:45 EST


On Tue, Feb 08, 2022 at 06:47:20PM +0000, Prashant Malani wrote:
> Move the function which gets current mux state inside the
> cros_typec_configure_mux() function. It is better to group those
> bits of functionality together, and it makes it easier to move around
> cros_typec_configure_mux() later.
>
> While we are doing this, also inline the cros_typec_get_mux_info() inside
> of cros_typec_configure_mux().
>
> Signed-off-by: Prashant Malani <pmalani@xxxxxxxxxxxx>

Reviewed-by: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>