From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felipe Contreras Subject: Re: [PATCH] usb: musb: drop superfluous pm_runtime calls around musb_shutdown Date: Thu, 12 Jan 2012 17:59:58 +0200 Message-ID: References: <1326374498-22968-1-git-send-email-notasas@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-lpp01m010-f46.google.com ([209.85.215.46]:60639 "EHLO mail-lpp01m010-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753991Ab2ALQAA (ORCPT ); Thu, 12 Jan 2012 11:00:00 -0500 In-Reply-To: Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Grazvydas Ignotas Cc: Felipe Balbi , linux-usb@vger.kernel.org, linux-omap@vger.kernel.org, Hema HK On Thu, Jan 12, 2012 at 5:55 PM, Grazvydas Ignotas wrote: > On Thu, Jan 12, 2012 at 5:45 PM, Felipe Contreras > wrote: >> On Thu, Jan 12, 2012 at 3:21 PM, Grazvydas Ignotas wrote: >>> Since commit 4f9edd2d7e8d "usb: musb: Fix the crash issue during reboot" >>> musb_shutdown() does pm_runtime_get_sync/pm_runtime_put by itself, so >>> this no longer needs to be done by the caller. Also, musb_exit_debugfs() >>> doesn't access the device, so just drop those runtime_pm calls. >> >> I don't understand what is the relationship with 4f9edd2d7e8d and >> musb_shutdown(), it seems this patch is basically reverting >> 4f9edd2d7e8d. > > No it's not, read my patch and it's description again. 4f9edd2d7e8d is > patching musb_shutdown(), mine musb_remove(). Ohh, OK. -- Felipe Contreras