From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751412AbcBKO6v (ORCPT ); Thu, 11 Feb 2016 09:58:51 -0500 Received: from mx2.suse.de ([195.135.220.15]:57826 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750800AbcBKO6t (ORCPT ); Thu, 11 Feb 2016 09:58:49 -0500 Message-ID: <1455202574.3972.6.camel@suse.com> Subject: Re: [PATCH 1/3] usb: USB Type-C Connector Class From: Oliver Neukum To: Heikki Krogerus Cc: Felipe Balbi , Mathias Nyman , Greg KH , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Date: Thu, 11 Feb 2016 15:56:14 +0100 In-Reply-To: <20160211143616.GE32213@kuha.fi.intel.com> References: <1455037283-106479-1-git-send-email-heikki.krogerus@linux.intel.com> <1455037283-106479-2-git-send-email-heikki.krogerus@linux.intel.com> <1455101342.8878.5.camel@suse.com> <8737szsk23.fsf@ti.com> <20160211143616.GE32213@kuha.fi.intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2016-02-11 at 16:36 +0200, Heikki Krogerus wrote: > Just in case there are no misunderstandings here, Oliver was > commenting on alternate_mode_store function, and USB of course is not > Alternate Mode. Yes I was because that is the hardest case. In hindsight it is also the most useless. If you see a billboard device you can still react. But the point also applies to all "switchable" features, most importantly PD. I usually want to charge my phone if it is connected, but not e.g. if my battery is at less than 60%. Such things belong to user space and should ideally be setable before anything is plugged in. Regards Oliver