Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1309941rdb; Fri, 1 Dec 2023 12:28:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IGGrZ75K8Nm2pt1HuI1+VwwfKmtnMRvdKezRETL44R4xE4aMf6qylXSeqty2WrBrOQ3s7s0 X-Received: by 2002:a05:6a21:1aa:b0:189:bde9:9cb0 with SMTP id le42-20020a056a2101aa00b00189bde99cb0mr127864pzb.27.1701462482209; Fri, 01 Dec 2023 12:28:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701462482; cv=none; d=google.com; s=arc-20160816; b=TAXluO/QYZ60KxbrQiHAzatEnvWtNdGNRekSvUuQo9tVK2KpzBSV+dGoRwMmdIs8Rf NWh8CMgr007mAz+sOH+1ctXxJdKpbjpiiqNdqV9cPIOc3I8xaSGO3xPnLsxO9GfSfYAx +Aa8SnQIknNS/oYzb0xVl9zO9JW/7bIHk8TtkLpiNbM+PWOVHGXrPVGl4mikvw70FYII OOr6tBE9ccR+vwSBBMj97I3mBfiABcqRDsmNFBM0d6vMnJSf+O7621bTf/0FE3poP5wJ jya2ollkioU7kYEkpmZI3ERLo1aowjTzO8VMg+bP98AOfUGmVm2OgPkrWFHQgrPso4uS q5dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=1TFPInV3Tc8ZFH5rwZRwPYcB8wwI/zl+CFu8s3Ie1xU=; fh=TFgYmTSQdwvjXjt4POYus678GSA31GoRmfclUUUQTEo=; b=jTrsYPpGIiIQl0E8yJqEBdL+sStyCfv4F2d5vZV/ST/g+FmLjBqeVI4QEsbLvMMXWV 6tM5f16WshwsreVbuhTkGuolTwBbQzvCArp3mJPaxok5QOC6jaZredeC981VKjJF4MA8 WToMQuRoAgqeA0J86AuJRDpSLtmNIyNf8s+A0Stk0r5DwjZbapiyxPe6/37jTe259WDx mDC2fg0mzBpNHAaMG1fCIRf5n96MjgOz/g9l1ZFKLUmIfEEF9B55UCFyFPZskLKfETRe Q0OfLyWSRJm2tMD4R4vXmWtBC8y0REhnnAP2GWIbQ+bn7qKxDVjCNNwciuCQykvARcHc gAmg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id b16-20020a6567d0000000b005bd043751ccsi3830231pgs.748.2023.12.01.12.28.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 12:28:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id C1E3B8066765; Fri, 1 Dec 2023 12:27:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230417AbjLAU1q (ORCPT + 99 others); Fri, 1 Dec 2023 15:27:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229534AbjLAU1p (ORCPT ); Fri, 1 Dec 2023 15:27:45 -0500 Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CB6BDD; Fri, 1 Dec 2023 12:27:51 -0800 (PST) Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-1cfcc9b3b5cso8607295ad.0; Fri, 01 Dec 2023 12:27:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701462471; x=1702067271; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1TFPInV3Tc8ZFH5rwZRwPYcB8wwI/zl+CFu8s3Ie1xU=; b=hhfbuBFnoT9UuZff9clCk5x+1Fv105MjcMJNnWTtQdbeHLXsXAjPQ10tPkSECoHreM oUZulqeyXaEp0xdX7H4ooeRzlGCdUptAi8c6r898R7D8ZbcubB4BtN407TmEtV6uHVTb 3VO7azcQYt2tOUeocIXEEXuYLP8rP55sRd2vuLe3akR8KvsIPk8d28NYZHPcI3uJYpKz 94t8fuH8WXEPswkDbqz49KgKHH7pk7mqgRFrMweNguk24dTIT7D+Rj5TUIYOZo96Tnny IFrXyWFwMVMH0rKSA9rrs67ZsBifMgO4yOHz9+Bw3lpMFv0LO+55dC3BUdJOWFTjtu8R 25Ig== X-Gm-Message-State: AOJu0YwlIyDqt835xeX/mFUEZHy/7IonP33YFcCrbrogiuV8Br+SBWie pqCyqD0m5CiuThvgu0bPv14= X-Received: by 2002:a17:903:22c1:b0:1d0:1c45:fca6 with SMTP id y1-20020a17090322c100b001d01c45fca6mr105449plg.55.1701462470485; Fri, 01 Dec 2023 12:27:50 -0800 (PST) Received: from [192.168.51.14] (c-73-231-117-72.hsd1.ca.comcast.net. [73.231.117.72]) by smtp.gmail.com with ESMTPSA id s2-20020a170902ea0200b001c9d011581dsm797614plg.164.2023.12.01.12.27.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 Dec 2023 12:27:50 -0800 (PST) Message-ID: Date: Fri, 1 Dec 2023 12:27:48 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 06/13] scsi: ufs: qcom: Export ufshcd_{enable/disable}_irq helpers and make use of them Content-Language: en-US To: Manivannan Sadhasivam , 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 References: <20231201151417.65500-1-manivannan.sadhasivam@linaro.org> <20231201151417.65500-7-manivannan.sadhasivam@linaro.org> From: Bart Van Assche In-Reply-To: <20231201151417.65500-7-manivannan.sadhasivam@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=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 morse.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 (morse.vger.email [0.0.0.0]); Fri, 01 Dec 2023 12:27:59 -0800 (PST) On 12/1/23 07:14, Manivannan Sadhasivam wrote: > Instead of duplicating the enable/disable IRQ part, let's export the > helpers available in ufshcd driver and make use of them. This also fixes > the possible redundant IRQ disable before asserting reset (when IRQ was > already disabled). Reviewed-by: Bart Van Assche