Message ID | 20180525143618.820-5-srinivas.kandagatla@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3675331lji; Fri, 25 May 2018 07:38:44 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo+cL6OGW4O9s++o29PVcQJ6aUNkQqG/cXuMYj8MAP+LnzpDDRCb+1URUPfLLSgvV+9UA1Q X-Received: by 2002:a62:ec6:: with SMTP id 67-v6mr2880500pfo.36.1527259124253; Fri, 25 May 2018 07:38:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527259124; cv=none; d=google.com; s=arc-20160816; b=q4Kku4qQtSE5rC0pfaBrwPPP61ypwBnleEh4RMjEuhOaChqF7166gGDOSPvdyHxL7S Q+vtWoswHURNeojMwwDkEZnwOBiit6D5030EuJq87VhUQrvnYIKC8JSq5AnS1CCUt4UC nxVmB3zKVmhsPPjG9X/IOl2ltVkzp7wgzFrlFsGWWXzeLDIq/ddK4D736iHMp8P14RxV +qeSpvBNteQWRUEYuvats/izqJW/GK+0mRbZTLnCyhSirxfSDKv41dy8lXTXSwft/pNm RnVWYu22xVjkivhmVBuu2ts+Gpa7d8SSbVe2KFXjgLb5gIf27TCG3hI22Q5XontlogVj UYlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=W6uYmgHxTWzfDftIQnpPK6qurtIUOyuIABrSN4ITJSQ=; b=jGtGq6Dd/AalSY9VtdkUUAiqYfi9YBJVBvlDLJEOt1XZoTVC2Q3VNUCuopW+4D92qh +mlX1tagw5JajQ3JgRIauRr+dXEbBlHCOiRIZ4NcmyYNlKqDE45IjTuy+UCE3dp1GAyt RqebC0o8vprdPNNNTbblbIW5vJo2WVygSE91sqR3ginxFCSC5Yv+P1RK34OebCCN2Shk G1vhAGqbS/JIGxB+AvhCAdQfTPjU4mMJ697db3wKhHWCUvrNAinQVlQ2tZ+zI/nvyLhS FJMQwPqsTPY45QkyTxFGvp0GPjQhaluVMBgCfQK6XbmQxLUHjZPqDvT6nY20O1oRKNkc cLLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aAss6bEk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y1-v6si6807986pgv.36.2018.05.25.07.38.43; Fri, 25 May 2018 07:38:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aAss6bEk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936378AbeEYOil (ORCPT <rfc822;ruslan.trofymenko@linaro.org> + 30 others); Fri, 25 May 2018 10:38:41 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:35977 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964821AbeEYOi0 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 25 May 2018 10:38:26 -0400 Received: by mail-wr0-f194.google.com with SMTP id k5-v6so9652416wrn.3 for <linux-kernel@vger.kernel.org>; Fri, 25 May 2018 07:38:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=W6uYmgHxTWzfDftIQnpPK6qurtIUOyuIABrSN4ITJSQ=; b=aAss6bEkFW1zDKvlkQSqWPIUc1nXbwMH0/KKtoTd9FK7M4/YxrSztC70AZQGydpNlJ ezexsd7uR5E3VAmweEN0UxwLbkfieAIFDKKrEJru0XG8Y+bAC1XaqajRzqVe9kSd6ish 2712VGN3x8MftzXT6fTYD3nNzMxX6NMVVOFZY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=W6uYmgHxTWzfDftIQnpPK6qurtIUOyuIABrSN4ITJSQ=; b=ktVmmjcPYVK9AyNLvosdIOxtXvUxsKlhkRblVfrb6jzcexjCV+LXsbcEBasNUe0L9J O4w2hphsV6abY7RIjygy8NAuoCKEwh4lumsm+FLMGSwF4Z4HNnld+t3IoW3hX+bLBjBm P8GkPzJoTnLiqdCUaLRxHAunz53LHBZE2l9IreUTSlxm8wMuk0er/5p/1Eq9MYDHTXf6 TV3j7vASmooiIZTwe+TakjNFnRnF+WmAZ/nCWgoSM9Rx2+zK7s8aLhhwBToyyHQUPNkJ QhNcQQZ3Yoy/g457mJcdSIkkf4pVV2D7JdTqhZSW4BxSKE5z+7HIZGjdzdaZaXJT9QSw SwJA== X-Gm-Message-State: ALKqPweVPmNselNv7nsJpMzmILshMugw72gORaNn3uxND0WPArMPzwll 1byoCnOQQCg1g5tYZXTSC51VYQ== X-Received: by 2002:adf:87d0:: with SMTP id c16-v6mr2257053wrc.246.1527259105840; Fri, 25 May 2018 07:38:25 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id r6-v6sm26165729wrg.73.2018.05.25.07.38.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 25 May 2018 07:38:25 -0700 (PDT) From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Subject: [PATCH v3 4/8] slimbus: messaging: remove multiple calls to pm_runtime_mark_last_busy Date: Fri, 25 May 2018 15:36:14 +0100 Message-Id: <20180525143618.820-5-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180525143618.820-1-srinivas.kandagatla@linaro.org> References: <20180525143618.820-1-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
slimbus: fixes and some helpers
|
expand
|
diff --git a/drivers/slimbus/messaging.c b/drivers/slimbus/messaging.c index 5a2ff01b394c..1c57b631031a 100644 --- a/drivers/slimbus/messaging.c +++ b/drivers/slimbus/messaging.c @@ -139,7 +139,7 @@ int slim_do_transfer(struct slim_controller *ctrl, struct slim_msg_txn *txn) * if there was error during this transaction */ pm_runtime_mark_last_busy(ctrl->dev); - pm_runtime_mark_last_busy(ctrl->dev); + pm_runtime_put_autosuspend(ctrl->dev); } return ret; }
There seems to be a multiple calls to pm_runtime_mark_last_busy(), which looks like a typo. Fix this by properly adding pm_runtime_put_autosuspend to put controller in auto suspend state. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> --- drivers/slimbus/messaging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.16.2