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=-6.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 4888AC43381 for ; Fri, 22 Mar 2019 12:06:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 17CB8206C0 for ; Fri, 22 Mar 2019 12:06:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553256403; bh=nCZSLFuQYyGtZCDdFvyJeYLUixqvbNgZW9zA8nYyGzc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=eJoJZq7dbKKTIn3+gA5kmupOTcEbwb9pXr09ySYsEIDvOF56oXC0KV6PU4Al17FiY w2CNwdEgMfGytzosAAC9wZAnwHwcxnRD+oA5fdLzFbdMfCWSg3/d/RBA+Ee7bwdgFL KQI/6lka0mg1dVqzdnzKIko1O1MLTAFqGgD57c6E= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388938AbfCVMGk (ORCPT ); Fri, 22 Mar 2019 08:06:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:44988 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388475AbfCVMGc (ORCPT ); Fri, 22 Mar 2019 08:06:32 -0400 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 2FD6921934; Fri, 22 Mar 2019 12:06:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553256391; bh=nCZSLFuQYyGtZCDdFvyJeYLUixqvbNgZW9zA8nYyGzc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wq+kuej+/y+s7xlzczdpJkc14BMzOHratIBQ2Wd1rcoufylhVNutFAh4/OSrexcX8 G+EqjMzZakhNvcjDfD40cieeQBg9VDnCvfCQTrsDFnNdhYmiH/Fgfyicnd32WHelfS pdPKiV+N4YnoEqSNbIzw7sc9vLECevwqdYSi27QI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Dmitry Osipenko , Peter Chen Subject: [PATCH 4.19 197/280] usb: chipidea: tegra: Fix missed ci_hdrc_remove_device() Date: Fri, 22 Mar 2019 12:15:50 +0100 Message-Id: <20190322111329.970302642@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190322111306.356185024@linuxfoundation.org> References: <20190322111306.356185024@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Dmitry Osipenko commit 563b9372f7ec57e44e8f9a8600c5107d7ffdd166 upstream. The ChipIdea's platform device need to be unregistered on Tegra's driver module removal. Fixes: dfebb5f43a78827a ("usb: chipidea: Add support for Tegra20/30/114/124") Signed-off-by: Dmitry Osipenko Acked-by: Peter Chen Cc: stable Signed-off-by: Greg Kroah-Hartman --- drivers/usb/chipidea/ci_hdrc_tegra.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/usb/chipidea/ci_hdrc_tegra.c +++ b/drivers/usb/chipidea/ci_hdrc_tegra.c @@ -130,6 +130,7 @@ static int tegra_udc_remove(struct platf { struct tegra_udc *udc = platform_get_drvdata(pdev); + ci_hdrc_remove_device(udc->dev); usb_phy_set_suspend(udc->phy, 1); clk_disable_unprepare(udc->clk);