From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E678EC433E1 for ; Wed, 22 Jul 2020 11:13:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C250A20729 for ; Wed, 22 Jul 2020 11:13:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595416439; bh=Vc/Dp55RwvxiJrMacEMsB1swnTr3sOi8WCoFa6p7Ok8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=Fn4JnQlSzEA5OcjyeuJqxIEbfnJa3+l/92a65KaEdaIYF9n2nOEorfOsKOn2dXqZN kYso50Sk8WPM/jOfLLksaKjIV0cm0fEt2W3EeDiWzVZUuG8SEiayZMV09wR60+6uZL yv/kLQV8FI48jOiyiBhaCjIRpnwdhw6FUAsvbB6E= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726941AbgGVLN7 (ORCPT ); Wed, 22 Jul 2020 07:13:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:35252 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726028AbgGVLN7 (ORCPT ); Wed, 22 Jul 2020 07:13:59 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1EAA7207CD; Wed, 22 Jul 2020 11:13:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595416438; bh=Vc/Dp55RwvxiJrMacEMsB1swnTr3sOi8WCoFa6p7Ok8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QvGMuEhLUpQKr8j1ay7tPcZVH8KhEJ9HGQ1P3ZwU8K8Z43wiHh1hITUxlqGoLesRR gldxh5e6atxe08nyuryijYbClinwLhPBjlx2zrAVv31Xi21xbp7fyRD+w19w5SmZY0 qnReQtkGgRsVgmOR+WxU3+IVd0l4Yml98xP4hiU0= Date: Wed, 22 Jul 2020 13:12:33 +0200 From: Greg Kroah-Hartman To: Bastien Nocera Cc: linux-usb@vger.kernel.org, Alan Stern Subject: Re: [PATCH 1/2] USB: Fix device driver race Message-ID: <20200722111233.GA2912795@kroah.com> References: <20200722094628.4236-1-hadess@hadess.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200722094628.4236-1-hadess@hadess.net> Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Wed, Jul 22, 2020 at 11:46:27AM +0200, Bastien Nocera wrote: > When a new device with a specialised device driver is plugged in, the > new driver will be modprobe()'d but the driver core will attach the > "generic" driver to the device. > > After that, nothing will trigger a reprobe when the modprobe()'d device > driver has finished initialising, as the device has the "generic" > driver attached to it. > > Trigger a reprobe ourselves when new specialised drivers get registered. > > Signed-off-by: Bastien Nocera > --- What commit id does this fix? And if it's in an older kernel, should it be backported to the stable trees? thanks, greg k-h