All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oliver Neukum <oneukum@suse.com>
To: Badhri Jagan Sridharan <badhri@google.com>,
	Guenter Roeck <linux@roeck-us.net>
Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	LKML <linux-kernel@vger.kernel.org>,
	USB <linux-usb@vger.kernel.org>
Subject: Re: [PATCH] usb: typec: Defer checking of valid power role swap to low level drivers
Date: Fri, 19 May 2017 12:40:54 +0200	[thread overview]
Message-ID: <1495190454.2073.1.camel@suse.com> (raw)
In-Reply-To: <CAPTae5JS+cNFEkzjT6uQPCiNpc56NUTFAQQovWnQFN9H3RhwUA@mail.gmail.com>

Am Donnerstag, den 18.05.2017, 14:08 -0700 schrieb Badhri Jagan
Sridharan:
> > Badhri, would that work for us ?
> 
> Yes Geunter that should work as well. Requesting non-pd role swap either through
> current_power_role or current_data_role is virtually the same.

Yes and that is the issue.
If you can do PD and swap power roles, power roles will be swapped
and data connection and driver assignments stay put. However without
PD drivers will be unbound. That means that user space must be made
aware that requesting a power role change will have side effects.

	Regards
		Oliver

  parent reply	other threads:[~2017-05-19 10:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-17  7:32 [PATCH] usb: typec: Defer checking of valid power role swap to low level drivers Badhri Jagan Sridharan
2017-05-17  7:34 ` Oliver Neukum
2017-05-17  9:36   ` Guenter Roeck
2017-05-17 12:38     ` Heikki Krogerus
2017-05-17 13:02       ` Guenter Roeck
2017-05-17 13:51         ` Heikki Krogerus
2017-05-17 18:05           ` Badhri Jagan Sridharan
2017-05-18  9:13     ` Oliver Neukum
2017-05-18 16:51       ` Guenter Roeck
2017-05-18 21:08         ` Badhri Jagan Sridharan
2017-05-18 21:13           ` Badhri Jagan Sridharan
2017-05-19 10:35           ` Heikki Krogerus
2017-05-19 13:27             ` Guenter Roeck
2017-05-19 10:40           ` Oliver Neukum [this message]
2017-05-17  8:08 ` Greg Kroah-Hartman
2017-05-17  9:43   ` Guenter Roeck

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=1495190454.2073.1.camel@suse.com \
    --to=oneukum@suse.com \
    --cc=badhri@google.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=heikki.krogerus@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=linux@roeck-us.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.