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=-12.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED 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 BFC1CC43381 for ; Tue, 26 Mar 2019 07:49:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8D95820828 for ; Tue, 26 Mar 2019 07:49:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553586593; bh=8OGJIkNQyR/PhKip00Xl88jyoeQ/IykBnNfOZlTBh7o=; h=Subject:To:From:Date:List-ID:From; b=2LpCZ2ngZN7msuWiBvsLgwzF4nzaAgpLActMdQnv2vVU4bMrX1KUp5+ULWQ7ClQUR yqI8j7ZnuCQ8Ev1hcbXrI/Q8cbL7g68OVYJ9Nu3NbIn03YwlwYVWRtpn598mC6ScGV pwcMgCM4+zRyCa3OnW/+UvIo8hWmDmReEKEb+iD8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730967AbfCZHtw (ORCPT ); Tue, 26 Mar 2019 03:49:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:44724 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725535AbfCZHtv (ORCPT ); Tue, 26 Mar 2019 03:49:51 -0400 Received: from localhost (unknown [104.132.152.111]) (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 9EFFD2084B; Tue, 26 Mar 2019 07:49:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553586591; bh=8OGJIkNQyR/PhKip00Xl88jyoeQ/IykBnNfOZlTBh7o=; h=Subject:To:From:Date:From; b=q6//wueelEXL79JOyBx4FuP7Vh4n8Ispy32aNPZ9B+Rly9ZzQyZcr/aVW2SRAU7bz Xcmz5/EbazoXYJ5AdAhR3hS/fGzwOgQ3SkXHO3QJBxwZECHUOnQsWoUjFBR7LE+tzJ Lvdkor36axZKtFNn1+uzQQVlfCUWUBwTLG0OygM8= Subject: patch "usb: mtu3: fix EXTCON dependency" added to usb-linus To: arnd@arndb.de, gregkh@linuxfoundation.org, stable@vger.kernel.org From: Date: Tue, 26 Mar 2019 16:49:34 +0900 Message-ID: <1553586574136110@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org This is a note to let you know that I've just added the patch titled usb: mtu3: fix EXTCON dependency to my usb git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git in the usb-linus branch. The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.) The patch will hopefully also be merged in Linus's tree for the next -rc kernel release. If you have any questions about this process, please let me know. >From 3d54d10c6afed34fd45b852bf76f55e8da31d8ef Mon Sep 17 00:00:00 2001 From: Arnd Bergmann Date: Mon, 25 Mar 2019 14:54:30 +0100 Subject: usb: mtu3: fix EXTCON dependency When EXTCON is a loadable module, mtu3 fails to link as built-in: drivers/usb/mtu3/mtu3_plat.o: In function `mtu3_probe': mtu3_plat.c:(.text+0x690): undefined reference to `extcon_get_edev_by_phandle' Add a Kconfig dependency to force mtu3 also to be a loadable module if extconn is, but still allow it to be built without extcon. Fixes: d0ed062a8b75 ("usb: mtu3: dual-role mode support") Signed-off-by: Arnd Bergmann Cc: stable Signed-off-by: Greg Kroah-Hartman --- drivers/usb/mtu3/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/mtu3/Kconfig b/drivers/usb/mtu3/Kconfig index bcc23486c4ed..928c2cd6fc00 100644 --- a/drivers/usb/mtu3/Kconfig +++ b/drivers/usb/mtu3/Kconfig @@ -6,6 +6,7 @@ config USB_MTU3 tristate "MediaTek USB3 Dual Role controller" depends on USB || USB_GADGET depends on ARCH_MEDIATEK || COMPILE_TEST + depends on EXTCON || !EXTCON select USB_XHCI_MTK if USB_SUPPORT && USB_XHCI_HCD help Say Y or M here if your system runs on MediaTek SoCs with -- 2.21.0