pinctrl: cherryview: Don't use IRQ core constanst for invalid IRQ
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 2 Jun 2023 16:46:55 +0000 (19:46 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 2 Jun 2023 17:34:54 +0000 (20:34 +0300)
The semantics of INVALID_HWIRQ is rather localized to IPI usage.
Let's keep it that way.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/pinctrl/intel/pinctrl-cherryview.c

index 722990e..74221ce 100644 (file)
@@ -75,7 +75,7 @@ struct intel_pad_context {
        u32 padctrl1;
 };
 
-#define CHV_INVALID_HWIRQ      ((unsigned int)INVALID_HWIRQ)
+#define CHV_INVALID_HWIRQ      (~0U)
 
 /**
  * struct intel_community_context - community context for Cherryview