From nobody Mon Feb 9 20:09:37 2026 Received: from mail-dl1-f48.google.com (mail-dl1-f48.google.com [74.125.82.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9AEEF27FD4B for ; Sat, 17 Jan 2026 01:22:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768612931; cv=none; b=XTCdc3lh9t5KRJyf8frasP61RpFh9gfpJ3OOEMTix4egYme6FDUDCvbxBqNecsEop+sYxhggoU46x7MJq16V10tT88pya1+wnyU4YgzYLMKeMhPAbw0RURpxf7PaM+UAkOKk+ENRmvs55KxSIiw1kaOCCAuxL7TNs3sy6+Bn43k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768612931; c=relaxed/simple; bh=0pyDOxIYiyKtDO5zBoCSbr5io67a+YIq5Io/RWNHqM0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=jXHWixVsC7cPU73Nfp2vH+IZTXAB+vewXtajYdFqJ9qXuvwIkVVtAU462ID0746LVOdG9oZxuOf5Iq+Q5vj/NMflCVKeKQSoI6feklMF57kLEx90yzaD4v+slFZyAMT5XweAr6R3VlgeXEfhCnPJDz/veda6PYPxOPlVCCLW0qM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nexthop.ai; spf=pass smtp.mailfrom=nexthop.ai; dkim=pass (2048-bit key) header.d=nexthop.ai header.i=@nexthop.ai header.b=gJ1MHz80; arc=none smtp.client-ip=74.125.82.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nexthop.ai Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nexthop.ai Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nexthop.ai header.i=@nexthop.ai header.b="gJ1MHz80" Received: by mail-dl1-f48.google.com with SMTP id a92af1059eb24-11f1fb91996so6262653c88.1 for ; Fri, 16 Jan 2026 17:22:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexthop.ai; s=google; t=1768612922; x=1769217722; 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=9Q0sRttI86mEpJh7BtqYPvvcOCP+5t2tb7f6cBrMGu8=; b=gJ1MHz80Pu9AGwPKuwLfUzF7dZWdssv6SwjrszmZkwxWdWq2p+XnYLFlZSP95Xc0AX qNqzTZ1LJt363tg5FAuJFQk9T6lHzIfpMk9sEGPQcAfoMG9GVbf0uI5KrEc7fcCTycCe n+vt2WY4k36JKraAc05mShRj4413eXxp3s5KLk1XwB55cIG/ACCinZ9c8S5oYMADJ6FJ pKsFiWmTQoNKrXhBc6Knaj0g2YF8/hjCGDMVhzJ9Vwty20BzCx76lzEZ/xVAfxoZsVQJ qRN/nKAc6gmP5+mcvAxYQeTRYbBWNpXQagoSIBD2okkncNHJ9TWuPld3KFa0H0fVtk7C as7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768612922; x=1769217722; 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=9Q0sRttI86mEpJh7BtqYPvvcOCP+5t2tb7f6cBrMGu8=; b=hEjy0hpdMqHkadlMBcYw2YCLCip1DfraJOpCScWtCl1Vi92w4Tm2qdGz2kZ9js9my8 cpx6fWZ0aidC7AszIuXvejbg4F6r1eQEpzEyiY5PIc67V/6ieRJjlcOWtvOl2cM89sYi mI/X1QQaqoMZyfaOKt2kAo7nK3Ojzk9IqDRfqpPj89Ovz8Jxf58RTfn3NFWs1T/8agHm DWtDU43M4/OzFG/UY/k9dlrmcUowtaCvho1ztvbhMhWFe9pm2EKauapVHVc+xrj3ZCU7 SgLiSmodweM2Xgj27/8X4m7XFQIje6UGzsn84vqIzYtziC8v3yuAFlkSvHHg40l7Nr9C OfsA== X-Forwarded-Encrypted: i=1; AJvYcCVNziU41F4/Ssdn2Nld52LoSbpU0+LKoOSggoMGuuzYaTnY09wabnBipbsJpH65zCFkTelzR9kFklGcYhE=@vger.kernel.org X-Gm-Message-State: AOJu0Yw651Mw7Pj6BD0kYzLLlCHW9+JvMNcdQEyBKRiOKW8MHj+btJWb Mir4QWWEm6Qzm0ms+cgLy9DdspBUAJgnvUssumXQ2iwNP9+kTy0Vf+DGifhKzAqrfR0= X-Gm-Gg: AY/fxX7WzRsdvat19LAI2bkZ4ZRjzdf9M75HWtfmcpESLTeyQrV7gvcOzKT/sZGUO6l lQVXAwDG9Df4VphaJtqODKP+23lW8lAn8s0VgkRGPrXaB9R5c0p8W84FkLgzVrb2rbde1j8kxeo 6k/J8Q8kkMVNoeu9bMiM9JWJZ5pGqjP5i9+o2NxIMmHijd0gMVf2GobH8CU0scR/HYKL7qHiCzl QWapd2Bt0S8HBqKxxLsBMtu98cJe4LjNEFzVfH4xsbjE7oMgrjPybUciHwVBKMhgw3ehvyPjSjH oQE+2OhqJaPXdylTYQ3N1NozvLPUanGzLvNAp68ulLJMo+Ed/lyw7X5Hev8LKR3XZq19H/gdxXO ysAAnKgddyoXCGfLP0L2EFkFdItCSltqF/aEXvXQK1/uKWTo3YfmiDgq79UcL+dR+zJBaNNKCsO Z6mezfiXIv9Zc= X-Received: by 2002:a05:7022:322:b0:119:e569:f279 with SMTP id a92af1059eb24-1244b3802e2mr4431118c88.34.1768612921745; Fri, 16 Jan 2026 17:22:01 -0800 (PST) Received: from localhost ([50.145.100.178]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1244af10e21sm4977236c88.16.2026.01.16.17.22.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jan 2026 17:22:01 -0800 (PST) From: Abdurrahman Hussain To: Mark Brown , Michal Simek , Andrew Lunn Cc: linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, Abdurrahman Hussain Subject: [PATCH v2 2/3] spi: xilinx: make irq optional Date: Sat, 17 Jan 2026 01:21:35 +0000 Message-ID: <20260117012136.265220-3-abdurrahman@nexthop.ai> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260117012136.265220-1-abdurrahman@nexthop.ai> References: <20260117012136.265220-1-abdurrahman@nexthop.ai> 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 Content-Type: text/plain; charset="utf-8" The driver can work in polling mode in cases where interrupts are either not available or broken. Signed-off-by: Abdurrahman Hussain --- drivers/spi/spi-xilinx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-xilinx.c b/drivers/spi/spi-xilinx.c index c4b70e95b695..9fb1da2fcce4 100644 --- a/drivers/spi/spi-xilinx.c +++ b/drivers/spi/spi-xilinx.c @@ -471,7 +471,7 @@ static int xilinx_spi_probe(struct platform_device *pde= v) xspi->bytes_per_word =3D bits_per_word / 8; xspi->buffer_size =3D xilinx_spi_find_buffer_size(xspi); =20 - xspi->irq =3D platform_get_irq(pdev, 0); + xspi->irq =3D platform_get_irq_optional(pdev, 0); if (xspi->irq < 0 && xspi->irq !=3D -ENXIO) { return xspi->irq; } else if (xspi->irq >=3D 0) { --=20 2.52.0