From nobody Tue Feb 10 06:25:20 2026 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BFBFA41C2F4 for ; Wed, 4 Feb 2026 16:29:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770222564; cv=none; b=YuHG3s7WRTATw8xSqNaKNs5Ftn38eAkgdUJx+MywE3J2Xz8cGUyMEXEK9zXCQSLHOGsiB1JYCMfk5g7UFPJFlGtLstnkYfQ8jlGPZHvhOhOd3G701WUMS36LjpH+BkRlB5/bEpeMo/1xnhtPCkJ/XcfFxFAH37j4zHM5BcOw0kE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770222564; c=relaxed/simple; bh=68oM4+XC5nRFzWgW83ZVy2hK9lV2X8Fgc/G9FC3yFl4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=GzuTt1Uzil3nKmj9MLXPO8mk+UVh66wdtIOcBUcPUwPwJoCBxQE45MRIyXjEIYyeA9a0O1AU3Z1AMo1fDXv7NsQ4DCZGyoQO2R6F+ytm9IhBgF3PEzR4Hy0S1pH/q8HPLWYTD3ssMW/BlKlXtmseHZhJFzMGkabIVKGSrmh5UD4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=PuwuN3SB; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=WRrtNAax; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="PuwuN3SB"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="WRrtNAax" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 614CIM5M095863 for ; Wed, 4 Feb 2026 16:29:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=wAfwiLiuSak yJDmAWGtn9e+lRT9itU+foDd5KST34eo=; b=PuwuN3SBeNAcBYnunF7I8QSyPyg tZMaE9VzMa86TdUpPr8BFdGO43Jhbia9y2vFfBx6xIL0uE1rzkWwwdAixYDxIhwK UyUvfaL28iYA2sSmenTEEH6Jn9x31F3mD+3WlyvufJEZpB/3pGs6xMlEXm7kz8Rw cUc0jU6/qStyLMWCVqIsAtLD7TwCVEyLttSSCM1Gy6s0aI5uTD8FO4egRcuOgfht G5Q1wurysZbDjUergFKkDFYXfJ/79MamiMTD5fgQKb5/l08kpc8qM1oJpd1hI5xa wNJFWmQtfaSxQBjNS9bvVR0j0V7PpR2lXaY9LXAw3A4t+I314F9KKkXM+fA== Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4c44kbh23e-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 04 Feb 2026 16:29:24 +0000 (GMT) Received: by mail-pg1-f199.google.com with SMTP id 41be03b00d2f7-c52d37d346dso4040151a12.3 for ; Wed, 04 Feb 2026 08:29:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1770222563; x=1770827363; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wAfwiLiuSakyJDmAWGtn9e+lRT9itU+foDd5KST34eo=; b=WRrtNAaxgZaRoae7WhBfQ4b0/5tLyDUGeityjUOrag78q7WBFdtTitT31bEZkophJF iGuxQG7sO9Q+sIIhn4ROGvQ7bPrR2WAiYc6NlneLf2vpFih/i5ykPPVx730B63HcomSt PJLYkohpQeKnQTJzJoSOKJZU9ohUwN+8vD6K52r7EKlGiK0DnqrGOcnZW+RvR7gioOtV 4/qufHHacM+cK3iQnMPNDRHF2tbJ75mLhMbjlNpBR2mCuJlbAwyfFHRMRtBHbJ2D+hNW v8LovyjR6iNbJcJWt1TQ+gPCcwDidj07FM0zGefi1sqsB0oOOmt+Gx7zL3S2g9+w9PdG eALg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770222563; x=1770827363; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=wAfwiLiuSakyJDmAWGtn9e+lRT9itU+foDd5KST34eo=; b=Y1d5txSgKh28tL4KS6BNbD2QoIvk/d+BrKN5SIEbJA5RY/9FJ6pfYuETjtfM98CcH7 DckWE7ghvCDYcRqS7kCeDUQaWukdsKvWXsVNPCiqxd+HrSFWCshU9qq3LYLbFKMq5hVx e2bKkZXodPGzmd6KHMKqbbRmq4x4Qrm49B6zmcfOXYjPCfCSS+fm/gqd4M0ZramMjeqz cIVlBddeKx2pFIsnuRTORuw8CI2dkIviPZRN5Q+ZtHr6qocb9B+Tyqp/VX0W/e0ZSzLy Uaq/4wtYlOODfZGY8Kx1DWizH2B9e6Yi8Rj5d4qJSuD10NF2CHZ058tLROLyFB3bNlde 8Ahg== X-Forwarded-Encrypted: i=1; AJvYcCWhAqQkxXla4MtupLWkL3GyzX2DOhDvYrz3znksYhwp2tRau0XvDPO39VA3cgH7PY8P6QqeqRT4wvFcYJ8=@vger.kernel.org X-Gm-Message-State: AOJu0YwUfbGHEX7tTALRG5ri4l+HfoNrr6dmlRI5zXyoHerU/mnZhahN S/sRYDiWXjuZ+KP8dNqsRjiPTO6cDJ+3pFHfjo0zGo1rWE/Bws3KGtnMCkP2oz5O661RnQHHQSw LyMMjRifYW3wkGyRBOVHZHWj8RjGlzjd0152A76jDI7JA15xGMxH5hdJsh4tNyTwYmL4= X-Gm-Gg: AZuq6aJ2WWUTZfV4VnVQ1G66n/dzSrODMOAv0tciX+dfpc2DgoYMITPTBe7puwzJGMg xAMXXahT2wbHYVqttYqiwu9zcT1KWNkX4jLoN9zzWX6zsRffYwbQW9vRX0fwGku03RB6hsw/R6/ 5hmZkJANdGxZABge7Up5k4Dt0NrivvqYhaYGOF9x2jCrWbqhLqrc+ARn10DjJWth2dKU6xy3vi/ to9wSV71Bq5mqaV5zc5EgPuRJjxP4LnKgERJ8XI6CDTMoILonycX87P3ILdPFwlTA6CgGjGNw2f 1AhJLoa40+zBYryKQQzeh4XQj8yv68g8HO7bKz2yfQ1Vm/sCw/WGkBZL+kx9mrcbC0vH50rR5lO dwQeF6GA/O7kIwDiPLs6KISSZrGFLawuxdGToexFmSTs= X-Received: by 2002:a05:6300:614e:b0:35d:d477:a7e9 with SMTP id adf61e73a8af0-3937210bdb2mr3917171637.35.1770222563383; Wed, 04 Feb 2026 08:29:23 -0800 (PST) X-Received: by 2002:a05:6300:614e:b0:35d:d477:a7e9 with SMTP id adf61e73a8af0-3937210bdb2mr3917152637.35.1770222562794; Wed, 04 Feb 2026 08:29:22 -0800 (PST) Received: from hu-ptalari-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c6c8515f36esm2546878a12.29.2026.02.04.08.29.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Feb 2026 08:29:22 -0800 (PST) From: Praveen Talari To: Mark Brown , linux-arm-msm@vger.kernel.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, bjorn.andersson@oss.qualcomm.com, dmitry.baryshkov@oss.qualcomm.com, konrad.dybcio@oss.qualcomm.com Cc: prasad.sodagudi@oss.qualcomm.com, mukesh.savaliya@oss.qualcomm.com, quic_vtanuku@quicinc.com, aniket.randive@oss.qualcomm.com, chandana.chiluveru@oss.qualcomm.com, jyothi.seerapu@oss.qualcomm.com, Praveen Talari Subject: [PATCH v2 3/4] spi: qcom-geni: Drop unused msg parameter from timeout handlers Date: Wed, 4 Feb 2026 21:58:53 +0530 Message-Id: <20260204162854.1206323-4-praveen.talari@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260204162854.1206323-1-praveen.talari@oss.qualcomm.com> References: <20260204162854.1206323-1-praveen.talari@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: G0LukNPDcdk_vTxV7ahAasRZKTD3VHdj X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMjA0MDEyNSBTYWx0ZWRfX0wEn6bA12N6S 6gfoc2JOTuxvUtqt756ALnKExIC1OAzcW8avRMjp5jfM/MEyInurCF4ePk3UHswKpczVHfmt3hw hsyDU/mPO0iVgj4Hg0kEhMePuWUR2DXwzPc1y633yw3p5Ar2Fj0Zf2PN068Fpba14K1WiTVpv9E VlG7eflhkkeDB66JGCNjmwKkz32Gcv/kRLjFreTv2hN9vX/T/cKogwwtwyKCAOijNJP5Lszufxd frgGqBl0U+WHSIVpJJcMlO3LvZV+uqsd5LCQ1sZz9wiTDvp1u/koTTKXdHvb+uhp+Rdoc/E5fHW SPhzZBTpjSD2Hsn4I9cozaea6HB4JkQPBfJhDslMoRv9gI/XNqWFqPIO6uYWoTFkzWLnKR7Q8Fw bMuu60NAc0yghUvY4Do8MLbQ34gA1ebzB19X2vFdl2YtO5RrN62GMhJydqdag0zS4zgG2DaKY1/ glh5BTEn5tqME4IXFaQ== X-Proofpoint-GUID: G0LukNPDcdk_vTxV7ahAasRZKTD3VHdj X-Authority-Analysis: v=2.4 cv=HN7O14tv c=1 sm=1 tr=0 ts=698373e4 cx=c_pps a=Oh5Dbbf/trHjhBongsHeRQ==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=HzLeVaNsDn8A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=gJUBjM1s-3uNyhB8e-kA:9 a=_Vgx9l1VpLgwpw_dHYaR:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-02-04_05,2026-02-04_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 suspectscore=0 phishscore=0 clxscore=1015 bulkscore=0 spamscore=0 adultscore=0 malwarescore=0 priorityscore=1501 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2602040125 Content-Type: text/plain; charset="utf-8" The timeout helpers (handle_se_timeout() and handle_gpi_timeout()) took a 'struct spi_message *msg' that was never used. Remove this parameter and adjust the callers to simplify the interfaces. Signed-off-by: Praveen Talari Reviewed-by: Konrad Dybcio --- drivers/spi/spi-geni-qcom.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/spi/spi-geni-qcom.c b/drivers/spi/spi-geni-qcom.c index e48aea7ce681..5077dc041e3a 100644 --- a/drivers/spi/spi-geni-qcom.c +++ b/drivers/spi/spi-geni-qcom.c @@ -146,8 +146,7 @@ static int get_spi_clk_cfg(unsigned int speed_hz, return ret; } =20 -static void handle_se_timeout(struct spi_controller *spi, - struct spi_message *msg) +static void handle_se_timeout(struct spi_controller *spi) { struct spi_geni_master *mas =3D spi_controller_get_devdata(spi); unsigned long time_left; @@ -222,7 +221,7 @@ static void handle_se_timeout(struct spi_controller *sp= i, } } =20 -static void handle_gpi_timeout(struct spi_controller *spi, struct spi_mess= age *msg) +static void handle_gpi_timeout(struct spi_controller *spi) { struct spi_geni_master *mas =3D spi_controller_get_devdata(spi); =20 @@ -237,10 +236,10 @@ static void spi_geni_handle_err(struct spi_controller= *spi, struct spi_message * switch (mas->cur_xfer_mode) { case GENI_SE_FIFO: case GENI_SE_DMA: - handle_se_timeout(spi, msg); + handle_se_timeout(spi); break; case GENI_GPI_DMA: - handle_gpi_timeout(spi, msg); + handle_gpi_timeout(spi); break; default: dev_err(mas->dev, "Abort on Mode:%d not supported", mas->cur_xfer_mode); --=20 2.34.1