Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1518262imm; Thu, 19 Jul 2018 03:11:43 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeEbjsDwTMAxevhGADcMF6nr7F95xXS76qFEkbfDvIQ83sPTVbMTLDDEhfwus2genKatoob X-Received: by 2002:a63:4c56:: with SMTP id m22-v6mr9202234pgl.299.1531995103288; Thu, 19 Jul 2018 03:11:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531995103; cv=none; d=google.com; s=arc-20160816; b=nY7zIGGPtCxPEaPqljMLuFmJJBF+Akyjs3I6zDNsQs/nL32mXe2C4l4vMUrh52Z8iQ S2Tm5Swk24hQINpKD3VkqZp1tkh1JFFLO+DH6+5utKbhqI9fHPTa/zNIO3ZcwHlVKBrM DX2VrOnnvdhUpYVqg4rbl5V4Waiy8RdFRJjAmsG14+Em4FU+k3yJIdA7YfMNyb3tM4wt s48ebimaxpMyCjR04SHLsTjCKbL4cSu8psCjM7JIMuxh1Qm7Q+KRUlHRwbZ+MjRH1+8s aRAHWJPxc1WUbketADAoXxgLNJMp1+dzNX0iO3PNfrWJQO1c+MqZU7PTJ3cnRexTlQ+a KeoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=s229wFo0iFjGxgmGWbb8urNjBWHmv1KXXXpm5jMzXfU=; b=p1/3DPjER0ioEpCOP+cnN7E9AnONEZGiHaeDs2K8kFO4XZUtRp1FsOrVNvJM25ykaz ZEFiy59aufGkMFSJw8ES+B2GlbY/8NPXIUGyc7kdIAMcLtBWJASRnmN4EsAgvLM6oD5X EJDYeic6EMD1nEP/IHPqzTAa4caC5JtydjbT5ydn1B+SZXMIbr4oIyeHr2nYsnN/lj9R oWHpWAAhkJ/AUim/5f5TkJMJdf7mBNRsB/fYOcIB2PhqojthIJ2Nn7xIQJfvy6HbsobB 6abFrQrem/7Vs97Chw7cwj9G4kKnl8XSXHTmhbRBiFT8AOHfxSbsxFZH4dwO63Zv3uz4 HsnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="mh/R5xay"; 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 o5-v6si5125844plk.25.2018.07.19.03.11.28; Thu, 19 Jul 2018 03:11:43 -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; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="mh/R5xay"; 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 S1728087AbeGSKxU (ORCPT + 99 others); Thu, 19 Jul 2018 06:53:20 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:41036 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727345AbeGSKxU (ORCPT ); Thu, 19 Jul 2018 06:53:20 -0400 Received: by mail-pf0-f193.google.com with SMTP id c21-v6so3680366pfn.8 for ; Thu, 19 Jul 2018 03:10:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id; bh=s229wFo0iFjGxgmGWbb8urNjBWHmv1KXXXpm5jMzXfU=; b=mh/R5xaysa6eyf1wncVP61oacQjCQJaz+1skC3qm2Sc+nS2Vhr+k7rYYduwLGtcGzR wt7te/v+tK2YV+lwTY+sy7Hkk4gAaQ6lY07mmoQ9vXkUGuRTS77HiSiCuG1ztAkSxQc2 lme88ozEyxJBrDvdFI8BMaLJ0KBTsPHSrZQT8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=s229wFo0iFjGxgmGWbb8urNjBWHmv1KXXXpm5jMzXfU=; b=VXTRnrt6cw+DbaZsmPhmpvxwkmh8jP6C7V4EeKXP5auFy/BN5+XdQlea6RiW91/WQm TUdYPvE86k8E2FtXd6kupkX12ZdyMpcumDEfX2J/Vs0w8xpV04KMG13Lbdi2W5sXeuNh us9Wzhv4aK/2UFQdODwmqBihcwuvp5H4NeH/GNtoi+ZPJtQrlXcE6FIEgHEXu1QWZqyk RzzT8RXFoRvvfnMcJaG3/ahka3TOqiHuYwfss6ZhfD5nRAmUl4sfUwVo/S3QHqHhWFWz o76HeQ0vujXqR6PhxIXE6UKiQLBFUagD+19EJg17VYhu5AVhd5Tqmk/jksGeePMiFooo G2Jg== X-Gm-Message-State: AOUpUlFFrtqLmeN4d69V/9YEpMRZaKvtNetJ4DBYiuj7+Qwo+WJ643ZH UxmpQuO33o0hx//YkMsBwJmTLw== X-Received: by 2002:a62:998:: with SMTP id 24-v6mr8792525pfj.99.1531995054785; Thu, 19 Jul 2018 03:10:54 -0700 (PDT) Received: from localhost.localdomain ([183.82.229.107]) by smtp.gmail.com with ESMTPSA id n80-v6sm10444838pfb.95.2018.07.19.03.10.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jul 2018 03:10:54 -0700 (PDT) From: Jagan Teki To: Bin Liu , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Jagan Teki Subject: [PATCH] usb: musb: Call musb_platform_exit from musb_stop Date: Thu, 19 Jul 2018 15:40:38 +0530 Message-Id: <20180719101038.9465-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org musb stop is musb core call during unregister or shutting down gadget or host musb. For graceful exit add musb_platform_exit on musb_stop so-that it can exit the musb platform driver as well. Signed-off-by: Jagan Teki --- drivers/usb/musb/musb_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index b7d56272f9d1..0b93b6384eda 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@ -1110,6 +1110,7 @@ void musb_stop(struct musb *musb) * - ... */ musb_platform_try_idle(musb, 0); + musb_platform_exit(musb); } /*-------------------------------------------------------------------------*/ -- 2.17.1