]> git.baikalelectronics.ru Git - kernel.git/commit
platform/chrome: cros_ec_typec: Move mux flag checks
authorPrashant Malani <pmalani@chromium.org>
Tue, 8 Feb 2022 18:47:18 +0000 (18:47 +0000)
committerPrashant Malani <pmalani@chromium.org>
Tue, 15 Feb 2022 19:49:20 +0000 (19:49 +0000)
commit9659587fffe4f62e2f0a4ec3161a7ac1eecfd8fb
treef1c590ed153a99c7f16667346fa3d22f785a9b93
parentd2db4cd28270584c6a808afe39fa7902eddd2f46
platform/chrome: cros_ec_typec: Move mux flag checks

Move mux and role flag checks inside of cros_typec_configure_mux(),
which is a more logical location for them.

Signed-off-by: Prashant Malani <pmalani@chromium.org>
Reviewed-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/chrome-platform/20220208184721.1697194-2-pmalani@chromium.org/
drivers/platform/chrome/cros_ec_typec.c