From patchwork Mon Nov 11 18:28:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 179115 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp7048834ilf; Mon, 11 Nov 2019 10:55:04 -0800 (PST) X-Google-Smtp-Source: APXvYqzNLIegbPN3uBIa7RRUjx0Jp2CiEOCxugZVp+PQ3l91f1uUlkRSaPR7aElf8WzYFeSTl58p X-Received: by 2002:aa7:db55:: with SMTP id n21mr3494312edt.113.1573498504086; Mon, 11 Nov 2019 10:55:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573498504; cv=none; d=google.com; s=arc-20160816; b=pJyFI/+Yqtu2xrrhAdW9zyGGrEjpzu7XY5ivjm+NhOAZapXz4nBHqDMvX0kmgbQvxo atInzPM2pBw9lp01d+dpjDSpUaRFPlgRztH3r7IJOiuk2ns7sRWJkJsSupoRENZOo5tk nvFjRxUswtg4xZkLDmxSyxODEM2DhnSd87s8i9ymZ5wDinV8c9qzk2TORYtU/dsVipjA y97Puiet2I/URTWXPzjmdHqh7Vz7JwHMv244pzSs6IFi7x3N9MII9ftTIbNd17vZClYu KX1qHkoU2h57fYiJlBx4hdQXtNXpXjDR+bT6aZITMvmvvF24cPzsWeiX94h3LUVtQPpP 8pDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=9Jbf+aPAolhhL53rM2SHM2dbNxMvJa5ieJ9ebF6EcYg=; b=mSdR/mlKchDLQz31hIv+Zc/Y8ZWUVIAKIQkBzG6lQNO2ew+CLTvzOljHKuTSFVyXpW +ujUHkb6IbDjnMMnRiLJZHPZujQnEkehGGHSNMfWb8rcpDEITf3kThFGM0vjxJ7CPRDm jiVdnsVMeK5wXJvqzum1JV8lP3gtFayZm7eQvqOFd8ghznUVbro8QZiS56OOJp1N7b6N RZtk27zFadVsqLy1Fwe6r38evEh1UVO+Gg+oH5CpffXn0AkCm264C669+M41CGPEpv26 FlijgwKSuxOuw1vv4rfSdWqVJ2BRDUNmQso/raVBFLka9+luL/89AT7BajHQ9elm3hRr R0+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yEXypkrD; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e48si11863820ede.207.2019.11.11.10.55.03; Mon, 11 Nov 2019 10:55:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yEXypkrD; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728866AbfKKSzC (ORCPT + 14 others); Mon, 11 Nov 2019 13:55:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:51590 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729864AbfKKSzB (ORCPT ); Mon, 11 Nov 2019 13:55:01 -0500 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 2FD8720818; Mon, 11 Nov 2019 18:54:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573498500; bh=oa7+ObusdG651tsz+lRNsmIw5Rwdto7V/xiHEg4SlIM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yEXypkrDngJUknxQghkYciV3VofDAlfQa7HcKd7oGBSNA0IOZMuu+SNMm1tlSVlYi fngP8+DheGYNJPevcUOs9LkCtsd5suSmdzblerQzQC6oLukciM6q8lpi9Aw2czno1b PChPIujWMqAh+FUaralnd5E2IpMvIvDBc7KfvF2E= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Neil Armstrong , Arnd Bergmann , Felipe Balbi , Sasha Levin Subject: [PATCH 5.3 137/193] usb: dwc3: select CONFIG_REGMAP_MMIO Date: Mon, 11 Nov 2019 19:28:39 +0100 Message-Id: <20191111181511.282245835@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191111181459.850623879@linuxfoundation.org> References: <20191111181459.850623879@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Arnd Bergmann [ Upstream commit a51bab592fbbef10f0e42a8aed86adfbf6a68fa7 ] After many randconfig builds, one configuration caused a link error with dwc3-meson-g12a lacking the regmap-mmio code: drivers/usb/dwc3/dwc3-meson-g12a.o: In function `dwc3_meson_g12a_probe': dwc3-meson-g12a.c:(.text+0x9f): undefined reference to `__devm_regmap_init_mmio_clk' Add the select statement that we have for all other users of that dependency. Fixes: c99993376f72 ("usb: dwc3: Add Amlogic G12A DWC3 glue") Acked-by: Neil Armstrong Signed-off-by: Arnd Bergmann Signed-off-by: Felipe Balbi Signed-off-by: Sasha Levin --- drivers/usb/dwc3/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig index 89abc6078703f..556a876c78962 100644 --- a/drivers/usb/dwc3/Kconfig +++ b/drivers/usb/dwc3/Kconfig @@ -102,6 +102,7 @@ config USB_DWC3_MESON_G12A depends on ARCH_MESON || COMPILE_TEST default USB_DWC3 select USB_ROLE_SWITCH + select REGMAP_MMIO help Support USB2/3 functionality in Amlogic G12A platforms. Say 'Y' or 'M' if you have one such device.