From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Subject: Re: [PATCH v2 2/5] PM / Runtime: Prevent re-resuming devices in pm_runtime_force_resume() Date: Wed, 15 Jun 2016 14:33:22 -0700 Message-ID: References: <1464600795-26307-1-git-send-email-ulf.hansson@linaro.org> <1464600795-26307-3-git-send-email-ulf.hansson@linaro.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from mail-pa0-f50.google.com ([209.85.220.50]:35112 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752704AbcFOVdY (ORCPT ); Wed, 15 Jun 2016 17:33:24 -0400 Received: by mail-pa0-f50.google.com with SMTP id hl6so10976658pac.2 for ; Wed, 15 Jun 2016 14:33:24 -0700 (PDT) In-Reply-To: <1464600795-26307-3-git-send-email-ulf.hansson@linaro.org> (Ulf Hansson's message of "Mon, 30 May 2016 11:33:12 +0200") Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Ulf Hansson Cc: "Rafael J. Wysocki" , linux-pm@vger.kernel.org, Len Brown , Pavel Machek , Geert Uytterhoeven , Lina Iyer , Axel Haslam , Marek Szyprowski , Jon Hunter , Andy Gross , Laurent Pinchart Ulf Hansson writes: > If the runtime PM status of the device isn't RPM_SUSPENDED, prevent the > pm_runtime_force_resume() to call the ->runtime_resume() callback for the > device, as it's not the expected behaviour from the subsystem/driver. > > Signed-off-by: Ulf Hansson Reviewed-by: Kevin Hilman