From patchwork Fri Mar 8 08:30:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Nayak X-Patchwork-Id: 10844319 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 09EC617E4 for ; Fri, 8 Mar 2019 08:32:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED5112E28B for ; Fri, 8 Mar 2019 08:32:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E14E12E2A5; Fri, 8 Mar 2019 08:32:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A038E2E28B for ; Fri, 8 Mar 2019 08:32:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726334AbfCHIba (ORCPT ); Fri, 8 Mar 2019 03:31:30 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:35296 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726323AbfCHIb3 (ORCPT ); Fri, 8 Mar 2019 03:31:29 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id E69FC60328; Fri, 8 Mar 2019 08:31:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1552033888; bh=r6UpcGLRfUb4r7DBjUfSRXiQc48oEnolLIxnTH75ChY=; h=From:To:Cc:Subject:Date:From; b=NxaklE5x2ELaM/gFytbR+GEkRGeacUNo/hR7NgwJhxqwWT+ckD+GRNaebFS78GjlD wCqHtsnQ53ml9r7OGTrCPN4h4m/GWB19qt4RJ1MZtSPLIyuuJ84OsQ/zxSAJy0DjsS Q3stJBp6gLYIQhJGHkm21sHUwr1E3TQ/gRCMRJww= Received: from blr-ubuntu-173.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rnayak@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id DE8EB60DB4; Fri, 8 Mar 2019 08:31:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1552033888; bh=r6UpcGLRfUb4r7DBjUfSRXiQc48oEnolLIxnTH75ChY=; h=From:To:Cc:Subject:Date:From; b=NxaklE5x2ELaM/gFytbR+GEkRGeacUNo/hR7NgwJhxqwWT+ckD+GRNaebFS78GjlD wCqHtsnQ53ml9r7OGTrCPN4h4m/GWB19qt4RJ1MZtSPLIyuuJ84OsQ/zxSAJy0DjsS Q3stJBp6gLYIQhJGHkm21sHUwr1E3TQ/gRCMRJww= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org DE8EB60DB4 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=rnayak@codeaurora.org From: Rajendra Nayak To: vinholikatti@gmail.com, alim.akhtar@samsung.com, pedrom.Sousa@synopsys.com Cc: subhashj@codeaurora.org, asutoshd@codeaurora.org, linux-scsi@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Rajendra Nayak Subject: [PATCH 0/3] scsi: ufs: runtime pm fixes Date: Fri, 8 Mar 2019 14:00:50 +0530 Message-Id: <20190308083053.30631-1-rnayak@codeaurora.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These are some runtime pm fixes I stumbled upon while working on adding support for controlling multiple power domains (needed on qualcomm sdm845 platforms) in the ufshcd-pltfrm driver. Rajendra Nayak (3): scsi: ufs: Fix runtime pm handling in ufshcd-pltfrm scsi: ufs: Add error checks for pm_runtime_get_sync() scsi: ufs: qcom: Remove unnecessary runtime pm calls drivers/scsi/ufs/ufs-qcom.c | 2 -- drivers/scsi/ufs/ufshcd-pltfrm.c | 3 +++ drivers/scsi/ufs/ufshcd.c | 5 ++++- 3 files changed, 7 insertions(+), 3 deletions(-)