Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp873065imw; Fri, 15 Jul 2022 14:40:19 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uVlHWrTGdB1sgMdMkvldor06vMwNRN2kUy+XpeuxNzhwjvvJsOuHgEsbtmev+2doSbN/vJ X-Received: by 2002:a05:6402:158b:b0:43a:6cae:a029 with SMTP id c11-20020a056402158b00b0043a6caea029mr21905889edv.201.1657921219346; Fri, 15 Jul 2022 14:40:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657921219; cv=none; d=google.com; s=arc-20160816; b=wBt6fgSP0JFH2C4Ef5Ed8Xr4SOPj4trQO4WymZOCdvM+bAIHVlUJz8J4YtblgWYc1o ugkwDdfbo81Lr17Ospzn52xOm/O3IzIvhmnS2aLlQ8OJVh6h7X/qwFpIfIdSVIl/ZoTK T9fN8fdI+xNBBwGpXRBQIWya+fxDJbSAKfRx0pcLbONewNAVP29hjjmPVTltqj4E4Dxc p3rWek7FqJpr0c/rv+SdtfxWbhLt6iTgHOcl4FtrBJzMP+samgV74JV29yMfioa87ZvH FzU6CTQusjeYuZBh6/z+FinUnKWmrh935ixC6LVhghsrTr+Wlj6UZWEUmDL9hae2UACk BaIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Y7dpQjz5rOHJl9zqXdKn4CMOybcpm8ONQ7DVJkZNamw=; b=vXC4qEs8aqYBUgzUHXdljggoGmQ3H9QYdr4Nyw4xUob0ESpmbY/v//OEtmJ/dm29Vt /O81Si7g4TjrdeLS/kPwJqN3ovBBrdCK4DMs4PfmohlBFsTBg1tPwJ3H60gSKR2SBhDx 4pQfqP2pTTEaO/CbL4+vTlILg9NrZVFY9gj1r2RO6+INvowGxrRtF/Z0ihMwaKLwEuSW EtL+OxvO4JqrUa8/9F4jdwRXNXIcdcNRZTGrq2E/si+7OreWFl/lb09HMbdvUCxpnBTi 7lpybwwCdxAtW5bH06GNFknL7Jslc8c9oqLP4hZwO8gYWV9rEdZRNr+sy3LP8Lgbv2dU P4bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IYk+A3fd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gb15-20020a170907960f00b0072ab9f5ae72si6921550ejc.553.2022.07.15.14.39.53; Fri, 15 Jul 2022 14:40:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IYk+A3fd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229666AbiGOU5h (ORCPT + 99 others); Fri, 15 Jul 2022 16:57:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229499AbiGOU5g (ORCPT ); Fri, 15 Jul 2022 16:57:36 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC83463934 for ; Fri, 15 Jul 2022 13:57:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657918655; x=1689454655; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=TtuzAApJTU9hGEQXjVipEzK3N3TBAUeeSEWLjmWbJF8=; b=IYk+A3fd9IDbhSSlEhjlWtjnGrgwjwco6uN4sEp0vhfaJci1uzlKrIev hH29UQ8Dey68szHIUwo6FAlfOnZBL5LXrvoCNb/nw+vW1zaMbaogMyZj+ E0e975OVCdnKh1fViy+6bovBVGG17NAgRsyq4wRrVmGq9Vqvf6y/BsqUW ToIZLrnxYfiAXZtx8PTQnGMS0BKbemPPyqGJ05DQZ8WUnqNOMpUHy85yi 6i8WKI1xrYFuWRkOCW1RZAi5m79wGzEl6i9MaBJinO9zOtXynZnHRSzsS P80rBu7mK9LFVRuCPc41jZ72cmrDkC6q2y9mYFNEMwCII4Eca5hMiJUyL g==; X-IronPort-AV: E=McAfee;i="6400,9594,10409"; a="268919561" X-IronPort-AV: E=Sophos;i="5.92,274,1650956400"; d="scan'208";a="268919561" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jul 2022 13:57:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,274,1650956400"; d="scan'208";a="654496590" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga008.fm.intel.com with ESMTP; 15 Jul 2022 13:57:33 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 06FFF1A0; Fri, 15 Jul 2022 23:57:41 +0300 (EEST) From: Andy Shevchenko To: Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Cc: Jaroslav Kysela , Takashi Iwai , Andy Shevchenko Subject: [PATCH v1 1/1] ALSA: isa: Use INVALID_HWIRQ definition Date: Fri, 15 Jul 2022 23:57:37 +0300 Message-Id: <20220715205737.83076-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use specific definition for invalid IRQ. It makes the code uniform in respect to the constant used for that. No functional change intended. Signed-off-by: Andy Shevchenko --- sound/isa/sscape.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/isa/sscape.c b/sound/isa/sscape.c index 0bc0025f7c19..9adaf91045e9 100644 --- a/sound/isa/sscape.c +++ b/sound/isa/sscape.c @@ -140,8 +140,7 @@ struct soundscape { unsigned char midi_vol; }; -#define INVALID_IRQ ((unsigned)-1) - +#define INVALID_IRQ ((unsigned)INVALID_HWIRQ) static inline struct soundscape *get_card_soundscape(struct snd_card *c) { -- 2.35.1