diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-06-02 18:46:55 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-06-02 19:34:54 +0200 |
commit | 0633dc4a542344fd40f432c63d9ac4940a370ea9 (patch) | |
tree | 97894b5fdfa1114dafaddc743106f9cdfe13f4c3 /drivers/pinctrl | |
parent | pinctrl: baytrail: Use BIT() in BYT_PULL_ASSIGN_* definitions (diff) | |
download | linux-0633dc4a542344fd40f432c63d9ac4940a370ea9.tar.xz linux-0633dc4a542344fd40f432c63d9ac4940a370ea9.zip |
pinctrl: cherryview: Don't use IRQ core constanst for invalid IRQ
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>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/intel/pinctrl-cherryview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/intel/pinctrl-cherryview.c b/drivers/pinctrl/intel/pinctrl-cherryview.c index 722990e27836..74221cedf3ab 100644 --- a/drivers/pinctrl/intel/pinctrl-cherryview.c +++ b/drivers/pinctrl/intel/pinctrl-cherryview.c @@ -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 |