From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751800AbcFXQz3 (ORCPT ); Fri, 24 Jun 2016 12:55:29 -0400 Received: from arroyo.ext.ti.com ([198.47.19.12]:42750 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751379AbcFXQz1 (ORCPT ); Fri, 24 Jun 2016 12:55:27 -0400 Subject: Re: [PATCH] hwrng: OMAP: Fix assumption that runtime_get_sync will always succeed To: Herbert Xu , Matt Mackall , Deepak Saxena References: <1466787040-26184-1-git-send-email-nm@ti.com> <1466787040-26184-2-git-send-email-nm@ti.com> CC: , , , , , Paul Walmsley From: Nishanth Menon Message-ID: <576D65DC.5050205@ti.com> Date: Fri, 24 Jun 2016 11:54:52 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <1466787040-26184-2-git-send-email-nm@ti.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/24/2016 11:50 AM, Nishanth Menon wrote: > pm_runtime_get_sync does return a error value that must be checked for > error conditions, else, due to various reasons, the device maynot be > enabled and the system will crash due to lack of clock to the hardware > module. > Oh crap! Apologies, please ignore the v1 patch which was unfortunately reposted. Sorry for the spam - i was pretty sure I cleared out the old patch, but looks I was wrong. V2 of the patch is here: https://patchwork.kernel.org/patch/9197919/ -- Regards, Nishanth Menon