From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756797AbbJARwo (ORCPT ); Thu, 1 Oct 2015 13:52:44 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:34708 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752058AbbJARwl (ORCPT ); Thu, 1 Oct 2015 13:52:41 -0400 Date: Thu, 1 Oct 2015 18:43:08 +0100 From: Mark Brown To: Felipe Balbi Cc: Baolin Wang , Greg KH , sre@kernel.org, dbaryshkov@gmail.com, dwmw2@infradead.org, peter.chen@freescale.com, stern@rowland.harvard.edu, r.baldyga@samsung.com, sojka@merica.cz, yoshihiro.shimoda.uh@renesas.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, sameo@linux.intel.com, lee.jones@linaro.org, ckeepax@opensource.wolfsonmicro.com, patches@opensource.wolfsonmicro.com, linux-pm@vger.kernel.org, device-mainlining@lists.linuxfoundation.org Message-ID: <20151001174308.GL12635@sirena.org.uk> References: <20151001172932.GG4469@saruman.tx.rr.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yQDbd2FCF2Yhw41T" Content-Disposition: inline In-Reply-To: <20151001172932.GG4469@saruman.tx.rr.com> X-Cookie: Walk softly and carry a megawatt laser. User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH v4 1/5] gadget: Introduce the notifier functions X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --yQDbd2FCF2Yhw41T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Oct 01, 2015 at 12:29:32PM -0500, Felipe Balbi wrote: > Frankly, I wanted all of this to be decided in userland with the > kernel just providing notification and basic safety checks (we don't > want to allow a bogus userspace daemon frying anybody's devices). What's the advantage of pushing this to userspace? By the time we provide enough discoverability to enable userspace to configure itself it seems like we'd have enough information to do the job anyway. --yQDbd2FCF2Yhw41T Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWDXCnAAoJECTWi3JdVIfQmFEH/0qoAywAYV0Ujl6TxyWZbX33 SqtvVnNf57Aq0/iKAtXr+Jp45Qxpx93vxLUrJal2DIguUDRGMvoLy9Qc1wMmxQ3K o7mWvcBQj2ERorGFOOOq+iRG/46+7C+K/3+CvUy6AWWLyoCQW6s+cBp3XPZnhAKu damSBQ2ImV5g4ofqg/Z5cFmHELiiS52dbOL8UAApu++xHPv1H3ZOAjSxyy48xoro wWK6QTTF8WVZKCvHDHcGwigWDPP15bZbi7ZeAtuDDkAuiajAi+4RRkeu2ys6f+5N fmyKtaW/TLlZtSg1Q7p+VhAOUy4RmOT/cJ3xlB17+/Dzhwh6+GZ/NhpQOh7MM1c= =/4BT -----END PGP SIGNATURE----- --yQDbd2FCF2Yhw41T--