From patchwork Mon Oct 21 14:18:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 177095 Delivered-To: patch@linaro.org Received: by 2002:ac9:3c86:0:0:0:0:0 with SMTP id w6csp4438114ocf; Mon, 21 Oct 2019 07:19:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqyeavoWprc6yZqCXWd7il3nLiwPjuDLc6kk+jg6/3gfBeTu0Ie+M/lweopiQB4u250EAA9L X-Received: by 2002:a50:8871:: with SMTP id c46mr6920444edc.24.1571667547349; Mon, 21 Oct 2019 07:19:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571667547; cv=none; d=google.com; s=arc-20160816; b=fOZMCE3IkcHLPwB8Qh62JCu7vbD8OIK48iu372bysfoIXmR+8koXXf6/YQV/tkACS4 yadZkYcCougl5uQR1MD90oMwyvjIJ2SzPhe9L+ygeqiU7tckMOvNgw49WAZyJIxOt1O4 NgwQ5K0KfbOI7OP1JI7vHnRxC4zQBo+n8PiEJSrQqLy6s9yuMez12LctZovo0uO+pTw+ aUG6Zb3+V9dpBIqSuJJeTLmntsxP09bBQUv43JnwmJ7O35T28p2Bfx3JSf9X6JdeTqDB xJGdYNhEjFCvjJvRVgVY5r44l1qpEBW9PjUBWHro8g+U2BKmy+npdm8yKOwFNAhI8Yq/ tF6w== 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 :message-id:date:subject:cc:to:from; bh=4IZvzziUrQu7ew8PLAKtf0A6ME2EtlVyeBi0vcYLUwM=; b=StVkd6zuLS2bfsV0Gn+IcjpkJfUOUpnRIU11DRNfUGfPlNhHNs3nKoxc3W+D8Ca8Ed TQcp4V34tPx/r5nYfpXD6UqhgWiR4UeJLU7Uy/3GlfazKpcLs0AbxEFDn3PkSYAavuJb z2CP/XKqrfUZfqUBPG35nB8Ezt6QBrPbC0q9tvbeqS2dGr8Ogg7YItmNjQjlelG3axPn JVQ+TOhs1L9+NSHzySt5gge4oMPNrQYuH89ke3SvR0FErw1cw3su6gaBeRfcjcWQWfVf V8stnmzJdGi3Fr9x6NVnIf8RrAJeEPdciZPjNXfSqtnDqKpvCNTjvgkZIJPzeU5Ahl5e BfHg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 g7si4617295edg.66.2019.10.21.07.19.07; Mon, 21 Oct 2019 07:19:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729314AbfJUOTC (ORCPT + 26 others); Mon, 21 Oct 2019 10:19:02 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:60327 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727680AbfJUOTC (ORCPT ); Mon, 21 Oct 2019 10:19:02 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.129]) with ESMTPA (Nemesis) id 1MPp0l-1iisbC1bz1-00Msup; Mon, 21 Oct 2019 16:18:49 +0200 From: Arnd Bergmann To: Felipe Balbi , Greg Kroah-Hartman Cc: Arnd Bergmann , Neil Armstrong , Martin Blumenstingl , Felipe Balbi , Roger Quadros , Lee Jones , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] usb: dwc3: select CONFIG_REGMAP_MMIO Date: Mon, 21 Oct 2019 16:18:36 +0200 Message-Id: <20191021141847.2214613-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:1XpQkbe8LJ1fW5M/Z38m2vIyWeR3kstO+tNSWu9lrKtuEFaceBk uLGFWVDx9RikWXnyd+QM2LgkG2XUG5uVKcSkCkRwDFNzgG2Nbdt8rEqMXqwzUFxjCIVarIq tpSuJJPTmitdJdqzQAbXG66T+dS+L2t0MHJPJ59qrlKWFIFqsj+FwfvLmNCv5ZAKrmrczdb hehdaoQqYQybesxosl+zA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:AvdgeXJsHMo=:RY+zftnZfxose2d0vzyNrN YD0NqDJq6QTs4Az6wctQFCiLd1L/KWwSUWau1JrwAmBcSHWO7NhIY5sLnrG3sKPDOxWat2HcG Qlopehre0YeWu/IuT0BvVJygNB+VTc9E+k22ACNjgOKIjQ1/qVuW0BxJpsJS04+9+0S0XJI6u IpHyScQDy4CAkaps5V86EOcwg1TPsbJWbX6ef1muOeRZFVLjQI0sb8D2afHhK8C0dAwqH/ceQ Ec84iZCBQOUJuM7MOhqh5JrMR8Q2tFnwq4E5s6qZRaGfCWW/L38zF413UbJ+bSeTq+OrLd9+o O+1T8qQ5SjWkA9LNIOjItdFY2SywR2KRbjLZof570FbayJUnesRvwWxjHqU+Z04TwKPpUNqFZ NzRCpU5BAYup2B7Cn5yQmdWNM527SyfMfOxnd9ZLF4yAOBpEDgOlH5pte6f/wMrrFnMg9m41f j8rMl+6tCek2PoRcGlrSRb9xrxz1YB+8G0MnlLsYwFB459Fuke5jT2yECCBzoO6Hqg6yMehSR AgAUiEUxN30k9m32p6pTDuEHLOleJlw6LiUrjeQi6ct2X3b0djH49Mu44wzU8qVllXtmCNTpH TXIhbRpuSfJDbHnTKjZn51+/bACcOLKhKsfdIFpqz8RYObB7DP4hJ5nTWlmyxr5x7vsDI885T nTuV5dk245MLjkRpQB09mCKUlcNjCcbSmW1hNvSaSNr9RqgTSwYVnx+DIE8Lk3n5FpKsdzKvW kZ+iFYy83Cd1zzGi+apc61qQUr+9Jal0ixNsbUTWcNJkNiliaizsIhksj8pIv6bxmoQfZbc8/ yN2AomU1N3cm93sqiiqDrBZaBCrE4ZBW0ztYvZBAZ3gfHHnCzz6Aq7C+NBXDubiyLAtLd0KE8 ZLCzExAV91BwnXCPDr8w== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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") Signed-off-by: Arnd Bergmann --- drivers/usb/dwc3/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.20.0 diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig index 89abc6078703..556a876c7896 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.