From patchwork Mon Mar 25 07:09:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Damien Le Moal X-Patchwork-Id: 13601254 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 735F21802BD; Mon, 25 Mar 2024 07:10:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711350604; cv=none; b=chszSo6GfJlPBvbXDGLQCgM1nikUT9ne87s4ZANzJJEm0D8sUV6o2HXW/QLuYPhM8UPsmCaS/GFJ4LD8az9hoCbr0W/7/cTKHHatFd3D5cVB1RPhRYd88eZ2MLs7ndlKPlQMtwyi6biN2N9f6u3UgW5URt4bM1ibPcqYSLlohUc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711350604; c=relaxed/simple; bh=bge2ws3KEdaftguW+pXSTaqf039X5n/M2UtisDmoU/8=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=E+dPXqc+nBKfK09PuN4TC3DQ2EZkK/9yZ1XyusZrbZ/cx42fnTmtlnnzjNmKJjhT1IG7EzYgUP1LIK0Nl2IG5xWiHXuNkQ5+ozQApRZGqgERiaTDujdedNxOTkBdUeyDlaX45nB7DI8Tm0m1Bm2VPn0+CbLTojyTq9Tlx4aAHIs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Rcvu88Ax; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Rcvu88Ax" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81377C433A6; Mon, 25 Mar 2024 07:10:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711350603; bh=bge2ws3KEdaftguW+pXSTaqf039X5n/M2UtisDmoU/8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Rcvu88Ax/T4BADtvVU2RSXDDGbN2ci5GXz8sX6akWSAefJwGB4zGbYZ0a1SYC33jI zE9fKLHNijw6fivZvcpvha0nydx7S6RNDLsNBmt7+8Ydlv8p5cWASGqI7Ym4+34MPS xeZkSxqdabnmqsLGl6mds4cJwBNfGc77zgbvYs9mknon7aIN15YoJNXbXc13a/WZOy FRSY+nkPMP98MhhvgIVs0kph3TjhiYkWBsGYm90FSrxoBIzYFpGarohxJ4GY+rGHMm OjXTUsDOe6F5tdt3a3/wAkZ+hhrZBFDx1W8oBPjy1IrIPr9eI9wgmziPuYc6UypRoc 0XeODtLj3MV/Q== From: Damien Le Moal To: linux-pci@vger.kernel.org, Bjorn Helgaas , Manivannan Sadhasivami , linux-scsi@vger.kernel.org, "Martin K . Petersen" , Jaroslav Kysela , linux-sound@vger.kernel.org, Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-serial@vger.kernel.org, Hans de Goede , platform-driver-x86@vger.kernel.org, ntb@lists.linux.dev, Lee Jones , David Airlie , amd-gfx@lists.freedesktop.org, Jason Gunthorpe , linux-rdma@vger.kernel.org, "David S . Miller" , Eric Dumazet , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 04/28] sound: intel: Use PCI_IRQ_INTX Date: Mon, 25 Mar 2024 16:09:15 +0900 Message-ID: <20240325070944.3600338-5-dlemoal@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240325070944.3600338-1-dlemoal@kernel.org> References: <20240325070944.3600338-1-dlemoal@kernel.org> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal Reviewed-by: Amadeusz Sławiński --- sound/soc/intel/avs/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/intel/avs/core.c b/sound/soc/intel/avs/core.c index d7f8940099ce..69818e4b43da 100644 --- a/sound/soc/intel/avs/core.c +++ b/sound/soc/intel/avs/core.c @@ -343,7 +343,7 @@ static int avs_hdac_acquire_irq(struct avs_dev *adev) int ret; /* request one and check that we only got one interrupt */ - ret = pci_alloc_irq_vectors(pci, 1, 1, PCI_IRQ_MSI | PCI_IRQ_LEGACY); + ret = pci_alloc_irq_vectors(pci, 1, 1, PCI_IRQ_MSI | PCI_IRQ_INTX); if (ret != 1) { dev_err(adev->dev, "Failed to allocate IRQ vector: %d\n", ret); return ret;