From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752187AbbKIAIB (ORCPT ); Sun, 8 Nov 2015 19:08:01 -0500 Received: from down.free-electrons.com ([37.187.137.238]:42693 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751556AbbKIAH7 (ORCPT ); Sun, 8 Nov 2015 19:07:59 -0500 Date: Sun, 8 Nov 2015 16:07:55 -0800 From: Maxime Ripard To: Ruslan Bilovol Cc: "Balbi, Felipe" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Krzysztof Opasiak , Alan Stern , Peter Chen , "gregkh@linuxfoundation.org" , Andrzej Pietrasiewicz Subject: Re: [PATCH v5 0/5] usb/gadget: independent registration of gadgets and gadget drivers Message-ID: <20151109000755.GV6114@lukather> References: <1435010474-13419-1-git-send-email-ruslan.bilovol@gmail.com> <20151019081125.GS2711@lukather> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lbYR4+J2RcKO0WXU" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --lbYR4+J2RcKO0WXU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Ruslan, On Mon, Nov 02, 2015 at 06:44:00PM +0200, Ruslan Bilovol wrote: > >> This patchset adds independent registration of gadgets > >> and gadget drivers to udc-core. This is very useful for > >> built-in modules into kernel case since it's possible > >> situation that gadget driver is probing at a time > >> when no gadgets are registered in udc-core. > >> In this case instead of silently failing without > >> of any attempt to recover, with independent registration > >> of gadgets and gadget drivers there is no matter > >> in which order gadgets and gadget drivers are > >> probed/registered. > >> > >> This patch has side-effect on gadget drivers that had > >> __init/__exit attributes on some paths like bind/unbind > >> and (since bind/unbind may happen at any time) should > >> not use them now. This is covered by forth patch > >> > > > > Has there been any progress on these patches? They're fixing some real > > issue that we're seeing, and it seems to both work quite well and not > > generate a lot of pushback. >=20 > This patch series has stack on review due to different views > on checking input parameters of externally visible function. >=20 > I see there is no any way to get these patches accepted other > than skip checking validity of some input parameters as > was pointed by Alan, although I disagree with it. >=20 > I will post updated patch series later Great, thanks a lot! Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --lbYR4+J2RcKO0WXU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWP+PbAAoJEBx+YmzsjxAg80oP/ivqCIjf72j1tcI47QndI4Dh eSeUurG+7uuWQTLGmEga1Jw6892rSHmA/qscmoDj4mxTjhbM8zI4gMHlqc6dVbQf 1omzeDkflrc4CyUlQF0oRoHjQOicTEzUl6fftkdXFLAUszkSc/DVUFGc+5ne/XqP fe+eE6zu78EucdptarD+Rb4wJiWaQJLxPqglh/oq5SwtaAX90+3revBDHoV+fH1U kkTLWRiwaXUsl1Ns4iR8FIt2m1q6D5dh+DEAMC8OIinP2XKbNsnW0jUQpHZiO2iq sGEh4oum5vgkkV33F4LYndxmkjVaGzY+59xEflBxAUdgg4FtyOkSVt94rF7COTra 9FABvWcYbr9ZDOxoI10sTZX+LVh33LYD+DvpPIZVIMDEtjs9et8B3nRqPLTvCwp6 EscA1k1u95iRZuJm/tq0JHQUYuE8lAvXeHyZMBZDELE5ClOOUjnbzNZYjXwufEdr aBmBKyfEptdSh/jFau90nafrs1igX4s/KlC+ruJ8MCYPuipKDaUnGdChG0mGoeTi n41jKXdjQHLH2f6lXn2LsVnJcfizLQe/ehZ/UDA23lGck70O/EwGmib8CD0bLqu1 EA6E82ENc40lPUGGONCKQ6dCfDMRsb9A7jySFaYHZ/h0hLLJdZeVlOftZVrUHuvu MdgaU98oMKcLAW89YG6o =Pz5F -----END PGP SIGNATURE----- --lbYR4+J2RcKO0WXU--