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 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 488B3C4332F for ; Tue, 13 Dec 2022 08:30:48 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9D41385450; Tue, 13 Dec 2022 09:30:46 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=kemnade.info Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kemnade.info header.i=@kemnade.info header.b="7GW4f76L"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0A33685405; Tue, 13 Dec 2022 09:30:45 +0100 (CET) Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a01:238:4321:8900:456f:ecd6:43e:202c]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9E8EF85455 for ; Tue, 13 Dec 2022 09:30:42 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=kemnade.info Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=andreas@kemnade.info DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20220719; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZAzddxPyo0nRO+TsYG0kCpl/T6tRqnTb3Vy6f89Mi7c=; b=7GW4f76LLvdWX9RaaWiSIg89ot o7Q8MWeizCyNpdnd5lbW2h8XsxQ7kvRj53Je0vmcWexvFartSSoZqHue4qPpQO9eZ/8K8DqoL1hEm 6oosmVbF3VOw3sBENcvIR92yBPBKWnWa4BNk1omgUCCNSbwf3eDNWGl1kXkVG2XSGGc3AWp5N0uuz sBpqCNLOBLQeKOTf4JCo5CWN9rQMQdzAIEDBGLk1kEoMN/u+ZeKJTi3XD1DoO2hmvkLHlQNJuKA+I KOxxe6zOAJ14s25gQGEmRB2xkLS8FAG+1C6zhZfZ3Fuese+xLzxJ+SQyWwebxE81RyqLqwQ7MAHEU mr8GFykA==; Received: from p200300ccff167b001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff16:7b00:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1p50gT-00061v-7N; Tue, 13 Dec 2022 09:30:41 +0100 Date: Tue, 13 Dec 2022 09:30:39 +0100 From: Andreas Kemnade To: Tom Rini Cc: marex@denx.de, u-boot@lists.denx.de, t-kristo@ti.com, kristo@kernel.org, tony@atomide.com Subject: Re: [PATCH 2/2] musb-new: omap2430: fix musb probing in gadget mode Message-ID: <20221213093039.15f9731a@aktux> In-Reply-To: <20221212190057.GA85481@bill-the-cat> References: <20221126223010.3319020-1-andreas@kemnade.info> <20221126223010.3319020-3-andreas@kemnade.info> <20221212190057.GA85481@bill-the-cat> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Hi, On Mon, 12 Dec 2022 14:00:57 -0500 Tom Rini wrote: > On Sat, Nov 26, 2022 at 11:30:10PM +0100, Andreas Kemnade wrote: > > > Host mode structures were accessed but not initialized > > and gadget dm did not compile at all. > > > > Signed-off-by: Andreas Kemnade > > --- > > drivers/usb/musb-new/omap2430.c | 42 ++++++++++++++++++++------------- > > 1 file changed, 25 insertions(+), 17 deletions(-) > > This breaks omap3_beagle and omap3_evm. > sorry, I will retest again. Probably best to add a CONFIG_DM_USB_GADGET conditional there. That seems to be the problem there. I just thought that nobody would care about non-CONFIG_DM_USB_GADGET and overlooked the omap3 configs. Regards, Andreas