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=-16.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 1DB70C4743C for ; Wed, 23 Jun 2021 07:15:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 037C061164 for ; Wed, 23 Jun 2021 07:15:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229920AbhFWHSA (ORCPT ); Wed, 23 Jun 2021 03:18:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:54918 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229660AbhFWHR6 (ORCPT ); Wed, 23 Jun 2021 03:17:58 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 05B106102A; Wed, 23 Jun 2021 07:15:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1624432541; bh=BgxrxjPzH+TyXUjc4tSXaXwHoacawx7cosXq0U0yMoQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r99Z/4CqMTkiIjfqVTfdjBcAoAHcfsO4a5zfflyolehlAVKFunTDG/b2M5MupSO7S q4OULcgVLmxBf9kohdICvcJSKRY6xylxBcP/Px0i8gNZgIVipCMdeS9IYb4/OQNwSM vFywFUdnyeuVMnEM2Tf57efAJE5U2MeUzUi0d5j8= Date: Wed, 23 Jun 2021 09:15:39 +0200 From: Greg KH To: Pawel Laszczak Cc: stable@vger.kernel.org Subject: Re: [PATCH] usb: cdns3: Fixed incorrect gadget state Message-ID: References: <20210623065426.30638-1-pawell@gli-login.cadence.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210623065426.30638-1-pawell@gli-login.cadence.com> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Wed, Jun 23, 2021 at 08:54:26AM +0200, Pawel Laszczak wrote: > From: Pawel Laszczak > > For delayed status phase, the usb_gadget->state was set > to USB_STATE_ADDRESS and it has never been updated to > USB_STATE_CONFIGURED. > Patch updates the gadget state to correct USB_STATE_CONFIGURED. > As a result of this bug the controller was not able to enter to > Test Mode while using MSC function. > > Cc: > Fixes: 7733f6c32e36 ("usb: cdns3: Add Cadence USB3 DRD Driver") > Signed-off-by: Pawel Laszczak > --- > drivers/usb/cdns3/cdns3-ep0.c | 1 + > 1 file changed, 1 insertion(+) This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly.