Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1105925rdb; Fri, 1 Dec 2023 07:14:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IEZEWG/0BRQE09EDt8TSgYukCfCaSjmMIw+QzBGAnNV1Z8gvA8IuL9REUmK2ZQjYT2AHp/d X-Received: by 2002:a17:90b:3e89:b0:285:ff7d:ad6b with SMTP id rj9-20020a17090b3e8900b00285ff7dad6bmr11782427pjb.4.1701443687356; Fri, 01 Dec 2023 07:14:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701443687; cv=none; d=google.com; s=arc-20160816; b=yNk59yA5wx1T/3n1oi93aZ4B00Qr1HPpaV/2U5Mh/WsigQTvhYKaEhfZLDGjJUDqKi NQjaH1XCqjUajY/gVmH722sNNLvytGVv7sq2cFEelNsW6l/2an4SGwOjzMX86gd2AsxT PondkNih8B3eKIVtlNZIhnzvVZ0gXq63qbloGSiecnP9GQouxwnz49nBbC2/teoxsrRx lNsepuUs9C1ioyfPOHNhl8eucETo5ByW6/M7gm7JcvzdQ5a+ILx0Kdg62MO1/jHFppgq HLgEWAqOUDQT7+iZZKnCd4pysofqH4XkMPlELqZfc5rJksm1GycaJ0zleLc5kct2i45K IdZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=AUXpiI1HIHar4nszgC34tqcGQO72u7/9KK72eoUn/m0=; fh=O5Q8LUawuCtrJk5mJG0Sz+mqyfwsmdVT26FvWpOyqg0=; b=yz3desJrNOHfCVFQYy2SxXp3oIUKewHkcIHB/wTE0m12aDkJ/uPn/rvQmZc5KM+nul /icPNkDF3tekF6ynbRsko7qfHw7alK4qltAvj8CNipgqGpp1Q7QgKTd5KuSNVE8lflJ5 x2tgLVrdhmsh8Stre0VV17vAN0XhwwLweOrIyU8Nib0SM2qR6RxV3QezMkTsZChhl6Qh kMH1/w5uuUZYHbPnQiG9FOOVUaFUgxH+rRGcWm0GZinOgubI980lRW4BQhwC4G7te6/0 LaFE6583RCq5/1A2X0efxNA8M9K/HG0maF1FE7pUNbG4zDBdROI/eC+/k577k/7sOdBL yr5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ucYHW4Tf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id cu4-20020a17090afa8400b002773cc10d3csi5938718pjb.78.2023.12.01.07.14.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 07:14:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ucYHW4Tf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id C8C1F82A394A; Fri, 1 Dec 2023 07:14:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379347AbjLAPOY (ORCPT + 99 others); Fri, 1 Dec 2023 10:14:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379339AbjLAPOX (ORCPT ); Fri, 1 Dec 2023 10:14:23 -0500 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CBAD10DF for ; Fri, 1 Dec 2023 07:14:29 -0800 (PST) Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-6cb749044a2so2234396b3a.0 for ; Fri, 01 Dec 2023 07:14:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701443668; x=1702048468; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=AUXpiI1HIHar4nszgC34tqcGQO72u7/9KK72eoUn/m0=; b=ucYHW4TfsNmzie2dOI98fMpUY5GzQqni0265D7x0vJ/ah3L2o2DRIsovbI+pnN4430 lwawxmHCFsFeWF2svDRtB08iyQSF+UBvaB7e9zFn8GDKB2cWW20pdsCbFBee9OwvGO6t Jgz4vuluOQGuF5ajl037IPK4I0gvCAzbs5p7Awuavix56YQU97R7SHpOWh26p/hF1D95 U1JD2Jz2f8HzwdkDxJY+FmTCWyhh1dr5qdSUZ+avrbhHtWbejr8e7qYYhnnnsOGd79S2 2s40GEGK2H4I5XP24pDX6a3btZaZHXTa7MOPQk9wW/oTzNie60FLe8+iOG0cwmPW7/Jv 2m5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701443668; x=1702048468; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AUXpiI1HIHar4nszgC34tqcGQO72u7/9KK72eoUn/m0=; b=aQLoS1z4p9Ux97Lmc64LIJIT3fCAQR4X/UywmVNSTFSdfKoL2Cv03VYjIO+jrwfKTY qxkBSjZc/Sx7GRt6/HWV4rdU+05rlEHA9O6+Z1fmPDux/n0l6jE7I2GP7TLUtrZslVMk /NgtPqqIrB3oNG4SoSPcNCYvynGz5GtLweNKvxXUxs1ISfTqvvDGd5rb00SkzObv3fgS a3sx6PSysXRFGA+r2+ozZjocYwvcfXSy+mRcGMVuBCm74+FDr9OPfbkptaduS2pHAPYB QUSnkzNR7Hn5xpKdpo7grkqgCbJrSVdnSe1Pm+NffIqrBfzYoslCbwx1SyHyvbtbXQnV d2Iw== X-Gm-Message-State: AOJu0YyuUwhncXexHRPPV7OtLS1ccee+z/qjZHDYmbWzCauFrzLz36xy 7ccMop+WjzTTe5zKHwFEmv4JpfmyL6EVkoI5tQ== X-Received: by 2002:a05:6a20:d704:b0:181:44c:d6a with SMTP id iz4-20020a056a20d70400b00181044c0d6amr36642382pzb.21.1701443668367; Fri, 01 Dec 2023 07:14:28 -0800 (PST) Received: from localhost.localdomain ([117.213.98.226]) by smtp.gmail.com with ESMTPSA id s14-20020a65644e000000b00578afd8e012sm2765824pgv.92.2023.12.01.07.14.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 07:14:27 -0800 (PST) From: Manivannan Sadhasivam To: martin.petersen@oracle.com, jejb@linux.ibm.com Cc: andersson@kernel.org, konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, quic_cang@quicinc.com, Manivannan Sadhasivam Subject: [PATCH 00/13] scsi: ufs: qcom: Minor code cleanups Date: Fri, 1 Dec 2023 20:44:04 +0530 Message-Id: <20231201151417.65500-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 01 Dec 2023 07:14:43 -0800 (PST) Hello, This series has some minor code cleanups to the Qcom UFS driver. No functional change. Tested on: RB5 development board based on Qcom SM8250 SoC. - Mani Manivannan Sadhasivam (13): scsi: ufs: qcom: Use clk_bulk APIs for managing lane clocks scsi: ufs: qcom: Fix the return value of ufs_qcom_ice_program_key() scsi: ufs: qcom: Fix the return value when platform_get_resource_byname() fails scsi: ufs: qcom: Remove superfluous variable assignments scsi: ufs: qcom: Remove the warning message when core_reset is not available scsi: ufs: qcom: Export ufshcd_{enable/disable}_irq helpers and make use of them scsi: ufs: qcom: Fail ufs_qcom_power_up_sequence() when core_reset fails scsi: ufs: qcom: Check the return value of ufs_qcom_power_up_sequence() scsi: ufs: qcom: Remove redundant error print for devm_kzalloc() failure scsi: ufs: qcom: Use dev_err_probe() to simplify error handling of devm_gpiod_get_optional() scsi: ufs: qcom: Remove unused ufs_qcom_hosts struct array scsi: ufs: qcom: Sort includes alphabetically scsi: ufs: qcom: Initialize cycles_in_1us variable in ufs_qcom_set_core_clk_ctrl() drivers/ufs/core/ufshcd.c | 6 +- drivers/ufs/host/ufs-qcom.c | 165 ++++++++---------------------------- drivers/ufs/host/ufs-qcom.h | 6 +- include/ufs/ufshcd.h | 2 + 4 files changed, 43 insertions(+), 136 deletions(-) -- 2.25.1