mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tzung-Bi Shih <tzungbi@kernel.org>
To: Marek Maslanka <mmaslanka@google.com>
Cc: Benson Leung <bleung@chromium.org>,
	Abhishek Pandit-Subedi <abhishekpandit@chromium.org>,
	Jameson Thies <jthies@google.com>,
	Andrei Kuchynski <akuchynski@chromium.org>,
	Guenter Roeck <groeck@chromium.org>,
	Radu Vele <raduvele@google.com>,
	chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] platform/chrome: cros_ec_typec: Poll for role swap completion
Date: Thu, 8 Oct 2026 02:20:12 +0000	[thread overview]
Message-ID: <asb93F_Xvl5Sco3J@google.com> (raw)
In-Reply-To: <20261007033837.708119-1-mmaslanka@google.com>

On Wed, Oct 07, 2026 at 05:38:37AM +0200, Marek Maslanka wrote:
> Depending on the EC USB-C stack (TCPMv2 vs PDC), EC_CMD_USB_PD_CONTROL
> with a role swap request may either block until the swap completes or
> queue the request asynchronously for the EC PD task and return the
> current (pre-swap) role in the immediate response. On platforms where
> the EC handles the swap asynchronously, checking resp.role right after
> issuing the swap command sees the old role and fails with -EIO before
> the USB PD handshake completes.
> 
> [...]

Applied to

    https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-next

[1/1] platform/chrome: cros_ec_typec: Poll for role swap completion
      commit: 2d3ee0bdb321ad84d9cf18d4bfd2b839293a695d

Thanks!

      reply	other threads:[~2026-10-08  2:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-07  3:38 Marek Maslanka
2026-10-08  2:20 ` Tzung-Bi Shih [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=asb93F_Xvl5Sco3J@google.com \
    --to=tzungbi@kernel.org \
    --cc=abhishekpandit@chromium.org \
    --cc=akuchynski@chromium.org \
    --cc=bleung@chromium.org \
    --cc=chrome-platform@lists.linux.dev \
    --cc=groeck@chromium.org \
    --cc=jthies@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmaslanka@google.com \
    --cc=raduvele@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®