Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2804044lqp; Mon, 25 Mar 2024 09:36:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVA3cApLlWjLCT/MYmLGZxw0JScJCwknpnYmpeYk3j7QE5+lwfwnPZcipIFqUkF/4k58aEv7LnDERL0R+iT33zUtTLkIORI6Rsv0o9tcQ== X-Google-Smtp-Source: AGHT+IEqmklqeCoDeXHfusnZqAlP+y4s9YWayIT1/m3y0qzSUArrAEMUccNPhNJy6KHv4jCkkyxY X-Received: by 2002:a17:907:9722:b0:a47:48b0:922e with SMTP id jg34-20020a170907972200b00a4748b0922emr5626580ejc.23.1711384619042; Mon, 25 Mar 2024 09:36:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711384619; cv=pass; d=google.com; s=arc-20160816; b=iJuatJZsA48kuiFaDlxwIENG/GZAZXZneANSeQhw+6Tx+/854ansHNSqkkKa1y0gpb ZEQaIoR10pWNdQm73IS9ffiM6LC9R8gO6ITwEsVHqUVtd79ntfOPR2ZDeTI4E6QM8ego uqNkad/e3kku8N8bJozEexnIUtP9UHkqzb152dgpmygJV/mOvIlEK2I72tstn+QqG7Ev E92F4L6AmSl8rPyStprIw79F7Z1hyAd5E7mxEGOQX4QTkuEPl2X+KvFRST+cMjI50jf/ SrLinPsrpZehErz8sTbifrYLrjGSPv3XiDRaOVn/eYRi9Zr6E9yXLpz0aa1g9MyOsMPU eG0w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:cc:references:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=vcX0KNbRdj278LwRQHDmo/lP4T9D30ij+c9h2efPxyw=; fh=0HttNvEClJAfslPd3m7RLpdmOezUiKWKY2C7Bg507/U=; b=vE+sRXLmPuuTeXmsTmhak5FDHEaAMshT8G6h381JY6eFLMfA+g+YRyeQJ4+DkymOFA 40mwvJRd6bslrbLeh0vqfj5QrBM1F2DOS55xAA5etSxpK+SLJ25VJBR+4v1PNu7vHvEk pwQOel1Xc1AfvfCB3e9P1Hyz9s2bYaZ1rMuWXEl2J3oRpJcIgGDEDMU5UwP6RgS74LQu HoOaWPg5xw0lkPd5kQT3ScIt1EDEmSrfnPQw4p3kSNPvPj0oT1o0Qthqrq0VzKBefrGj Tmrb8MqVrVJnqhCWUx2M4HUqqX8Mw2kfyvDpyaUo9BdTNVc5iW9d32k9fpOpYQEcHJWd Gd5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=meT28BSM; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-117017-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117017-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id lx12-20020a170906af0c00b00a474b221835si2014047ejb.56.2024.03.25.09.36.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 09:36:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117017-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=meT28BSM; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-117017-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117017-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id ABD681F60D87 for ; Mon, 25 Mar 2024 15:19:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D3878157467; Mon, 25 Mar 2024 12:35:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="meT28BSM" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (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 607C8156669; Mon, 25 Mar 2024 12:35:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711370102; cv=none; b=XAglHPtgYw7zVIkczpU+mgdKekhOE8zhrhbaitr74x6hHeuou6gqJVdGkrPfonSIUFAusoO5ybOvpe5WqSLnPNjhpyZXGMLJfibcxuu5tywB4d7u9g5xmpIm17varEJDoOVa6rx9aRvg8OXJV61FJp4omOKxM2xtsJUmRzH27dY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711370102; c=relaxed/simple; bh=6jzjiwrkhrrxiOb3ouQm9/gN7kt04YtLniYwKlTluek=; h=Message-ID:Date:MIME-Version:Subject:To:References:Cc:From: In-Reply-To:Content-Type; b=fNfM/HWZmJj7ltEr1HJE6UgsiNfIqo0JE6qXgrBcXcS0v0EKO7jgXt++mfs0spP8COdCuCBuaNccHgBkSCfkxYnKKP8ANu6yQ8Cxo72xVO7P7ZmgoozUzGyyo/Sg6BgBQLR0Uma+pHPD08my6ZYTgTM728SsK5WtMbMAEzAh7m0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=meT28BSM; arc=none smtp.client-ip=192.198.163.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711370100; x=1742906100; h=message-id:date:mime-version:subject:to:references:cc: from:in-reply-to:content-transfer-encoding; bh=6jzjiwrkhrrxiOb3ouQm9/gN7kt04YtLniYwKlTluek=; b=meT28BSM18Q5CeqZIYtu9mWAq3MfHi6+rVVaqz1DPzkIq3liaJn3P1nk lVozH64N2x/0psEQgAfOFmvF3e+zH4/DTzZa5J5YU/rVSTzLrUfNefPTe dZVn1qfkyutYbO2Ki1kqY2fgWyxsSU9zzNEGyyHZAI8sMBo5yNoXu10lW Sm4T7w64g6350vGEibsVq1GtaPeTfFSM8fGikouNS7VRcsyhtbewvPC+G MeVcUrLnEMw2QsUeRaaFuFBxCM9x4MC/alv9yQ/Rk7DCnCEo37hTU6gJv BkyY4/xA0BUjxmkaXomk7MlO2Zg/X45Laz+QtIS39Gr2C2oBYiFku/oLM w==; X-IronPort-AV: E=McAfee;i="6600,9927,11023"; a="10139987" X-IronPort-AV: E=Sophos;i="6.07,153,1708416000"; d="scan'208";a="10139987" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2024 05:34:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,153,1708416000"; d="scan'208";a="16268554" Received: from aslawinx-mobl.ger.corp.intel.com (HELO [10.94.0.53]) ([10.94.0.53]) by orviesa008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2024 05:34:54 -0700 Message-ID: <3edd5823-bf54-4898-bcee-e1628c863388@linux.intel.com> Date: Mon, 25 Mar 2024 13:34:51 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 04/28] sound: intel: Use PCI_IRQ_INTX Content-Language: en-US To: Damien Le Moal , 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 References: <20240325070944.3600338-1-dlemoal@kernel.org> <20240325070944.3600338-5-dlemoal@kernel.org> Cc: Cezary Rojewski From: =?UTF-8?Q?Amadeusz_S=C5=82awi=C5=84ski?= In-Reply-To: <20240325070944.3600338-5-dlemoal@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 3/25/2024 8:09 AM, Damien Le Moal wrote: > Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY > macro. > > Signed-off-by: Damien Le Moal > --- > 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; Reviewed-by: Amadeusz Sławiński