Skip to content

Commit 0633dc4

Browse files
committed
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>
1 parent 9d71208 commit 0633dc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/pinctrl/intel/pinctrl-cherryview.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ struct intel_pad_context {
7575
u32 padctrl1;
7676
};
7777

78-
#define CHV_INVALID_HWIRQ ((unsigned int)INVALID_HWIRQ)
78+
#define CHV_INVALID_HWIRQ (~0U)
7979

8080
/**
8181
* struct intel_community_context - community context for Cherryview

0 commit comments

Comments
 (0)