Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755142Ab3DLSPq (ORCPT ); Fri, 12 Apr 2013 14:15:46 -0400 Received: from void.printf.net ([89.145.121.20]:35751 "EHLO void.printf.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752910Ab3DLSPo (ORCPT ); Fri, 12 Apr 2013 14:15:44 -0400 From: Chris Ball To: Ohad Ben-Cohen Cc: Li Fei , "ulf.hansson" , "johan.rudholm" , subhashj , "rafael.j.wysocki" , "thierry.reding" , "sachin.kamat" , "linux-mmc\@vger.kernel.org" , "Rafael J. Wysocki" , "linux-kernel\@vger.kernel.org" , Chuansheng Liu , "Coelho\, Luciano" Subject: Re: [PATCH 2/5 V2] mmc: core: call pm_runtime_put_noidle in pm_runtime_get_sync failed case References: <1362037031.6212.3.camel@fli24-HP-Compaq-8100-Elite-CMT-PC> <1362037455.6212.8.camel@fli24-HP-Compaq-8100-Elite-CMT-PC> <1365384999.31128.6.camel@fli24-HP-Compaq-8100-Elite-CMT-PC> Date: Fri, 12 Apr 2013 14:15:35 -0400 In-Reply-To: (Ohad Ben-Cohen's message of "Mon, 8 Apr 2013 15:48:52 +0300") Message-ID: <877gk7fwe0.fsf@octavius.laptop.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 881 Lines: 25 Hi, On Mon, Apr 08 2013, Ohad Ben-Cohen wrote: > On Mon, Apr 8, 2013 at 4:36 AM, Li Fei wrote: >> Even in failed case of pm_runtime_get_sync, the usage_count >> is incremented. In order to keep the usage_count with correct >> value and runtime power management to behave correctly, call >> pm_runtime_put_noidle in such case. >> >> Signed-off-by Liu Chuansheng >> Signed-off-by: Li Fei > > Acked-by: Ohad Ben-Cohen Thanks, pushed this patch to mmc-next for 3.10. - Chris. -- Chris Ball One Laptop Per Child -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/