Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4462195rwb; Tue, 6 Sep 2022 07:54:06 -0700 (PDT) X-Google-Smtp-Source: AA6agR6qrMeaQkojhunZkWXPuLBC/6MRPl2pUl7G+b51xAj2pAwqHaWPrCnOukbf4jclZUw0MqiU X-Received: by 2002:a17:907:7254:b0:731:61c6:ecf9 with SMTP id ds20-20020a170907725400b0073161c6ecf9mr40607827ejc.101.1662476046086; Tue, 06 Sep 2022 07:54:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662476046; cv=none; d=google.com; s=arc-20160816; b=effQwu8xuGBN1iFIvAWKw2UTYzrOp49N15M7ZWdde5LEILVrBNg55L7nolifeBCfjm sBSZIwhRRY/7sXY+szHe0NAehDiG+3Zj/fE4tKlnUhX4lP3nvTr1Aly2sbVhiaMBSdJ3 pCA2PIUAFbRuk/gDveQNN4hee44jnRsdzAe9nY4iwOp5JxklzTW8S/kWBcRiLJC3b5gq dJkKrZ+9B4B7gdUw6uRFm1LOaScbyAbKZ/zwcuTrisBqmnihzpRjaXOgXGOMR7trC/da Y16R2HUKEKZAfcpxwqun/n14pCiI5t0glye5mQEVAOyx94jG49j5qky8rtl1DZzt64f/ +s6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=SpcdyW77yoDqQARwaM+LkNy5GuBue4d3ud0QMUxfRCg=; b=uN0W1nJNV6bsUjg9yQ48o37USI3X51lFpDzy0nC+yg15Ac1W5sI7iY98sm78KE6ztr 13kEZ31nDfhuSWE1gb4mZjMZQhB5bSNW/j8+4+T+RZEfOClaUx/TUuwLtTZr7D1YpYxr ITcZQ1rbr3sNyaIfacOo35IZUmFVv0hlXGXN+o4GmPcswCSRNkiOx4k4rHd4pgDH1y5y 02zSb8GkUIAvwcNOOVEhMYerosTVh2rynGp7BbXvDN51FFKkY+mfj7Hzv+Txmt/QhlCs lUM18tluoH5fIGp1waS2Eam0FwECPlK3Pqwgkx1yeq3heHa+zgOe09GBffoX6uX6scxz LWcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=balKwnhU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z23-20020a170906435700b0073305fd2278si9283252ejm.864.2022.09.06.07.53.37; Tue, 06 Sep 2022 07:54:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=balKwnhU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238602AbiIFOIE (ORCPT + 99 others); Tue, 6 Sep 2022 10:08:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240713AbiIFOGN (ORCPT ); Tue, 6 Sep 2022 10:06:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6C6785A91; Tue, 6 Sep 2022 06:45:31 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 212CE61557; Tue, 6 Sep 2022 13:44:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2BC37C433D7; Tue, 6 Sep 2022 13:44:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1662471867; bh=17sx56KLKhxrqHmDM3TMAmXikZVYkvO5J/4XnRroi5c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=balKwnhUawtGJkRg8tU0wuYspv8IT/K2ZtMdaXN4Z20/znCScMA9kMeviBUlIk7so Wa6XDanSOOTxXA8nj48diVJV7rPyUsJKXib5bTdXAJVGCkMn/lP/x+4/ZYrDg34V1i ebOo0QspJFL80OKQfHU9pZv79nkwj3gy5/mK48d8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, stable , Arnd Bergmann Subject: [PATCH 5.19 065/155] musb: fix USB_MUSB_TUSB6010 dependency Date: Tue, 6 Sep 2022 15:30:13 +0200 Message-Id: <20220906132832.187312657@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220906132829.417117002@linuxfoundation.org> References: <20220906132829.417117002@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann commit a3f2fd22743fc56dd5e3896a3fbddd276df1577f upstream. Turning on NOP_USB_XCEIV as builtin broke the TUSB6010 driver because of an older issue with the depencency. It is not necessary to forbid NOP_USB_XCEIV=y in combination with USB_MUSB_HDRC=m, but only the reverse, which causes the link failure from the original Kconfig change. Use the correct dependency to still allow NOP_USB_XCEIV=n or NOP_USB_XCEIV=y but forbid NOP_USB_XCEIV=m when USB_MUSB_HDRC=m to fix the multi_v7_defconfig for tusb. Fixes: ab37a7a890c1 ("ARM: multi_v7_defconfig: Make NOP_USB_XCEIV driver built-in") Fixes: c0442479652b ("usb: musb: Fix randconfig build issues for Kconfig options") Cc: stable Signed-off-by: Arnd Bergmann Link: https://lore.kernel.org/r/20220818135737.3143895-10-arnd@kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/usb/musb/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/usb/musb/Kconfig +++ b/drivers/usb/musb/Kconfig @@ -86,7 +86,7 @@ config USB_MUSB_TUSB6010 tristate "TUSB6010" depends on HAS_IOMEM depends on ARCH_OMAP2PLUS || COMPILE_TEST - depends on NOP_USB_XCEIV = USB_MUSB_HDRC # both built-in or both modules + depends on NOP_USB_XCEIV!=m || USB_MUSB_HDRC=m config USB_MUSB_OMAP2PLUS tristate "OMAP2430 and onwards"