From 6549abbad6209d1e2c60aa1ed28231649b5cffd8 Mon Sep 17 00:00:00 2001 From: Andy Shevchenko Date: Fri, 15 Jul 2022 23:57:37 +0300 Subject: [PATCH] ALSA: isa: Use INVALID_HWIRQ definition 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 0bc0025f7c199a..9adaf91045e9a5 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) {