Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752862AbaDORG3 (ORCPT ); Tue, 15 Apr 2014 13:06:29 -0400 Received: from mail-lb0-f175.google.com ([209.85.217.175]:50576 "EHLO mail-lb0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751169AbaDORG1 (ORCPT ); Tue, 15 Apr 2014 13:06:27 -0400 MIME-Version: 1.0 In-Reply-To: <1397581111-21148-1-git-send-email-nm@ti.com> References: <534D61DF.9090203@ti.com> <1397581111-21148-1-git-send-email-nm@ti.com> Date: Tue, 15 Apr 2014 19:06:25 +0200 Message-ID: Subject: Re: [PATCH V2] crypto: omap-des - handle error of pm_runtime_get_sync From: Joachim Eastwood To: Nishanth Menon Cc: Joel Fernandes , Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org, "linux-kernel@vger.kernel.org" , linux-omap@vger.kernel.org, balbi@ti.com Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15 April 2014 18:58, Nishanth Menon wrote: > pm_runtime_get_sync may not always succeed depending on SoC involved. > So handle the error appropriately ensuring usage_count is accurate in > case of failure. > > Signed-off-by: Nishanth Menon > --- > V2: > - review fixes, print function names in error log as well. > > V1: https://patchwork.kernel.org/patch/3993861/ > drivers/crypto/omap-des.c | 26 +++++++++++++++++++++++--- > 1 file changed, 23 insertions(+), 3 deletions(-) > Fixes the runtime warning from omap_l3_noc when omap-des is built-in on my VAR-SOM-OM44 (OMAP4460) board. Tested-by: Joachim Eastwood regards Joachim Eastwood -- 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/