Home
last modified time | relevance | path

Searched hist:"86851 bbce1a332b0658519386041fe430f4e9e39" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/pinctrl/intel/
H A Dpinctrl-intel.cdiff 86851bbce1a332b0658519386041fe430f4e9e39 Fri Jun 12 09:49:56 CDT 2020 Andy Shevchenko <andriy.shevchenko@linux.intel.com> pinctrl: intel: Make use of IRQ_RETVAL()

Instead of using bitwise operations against returned values,
which is a bit fragile, convert IRQ handler to count amount of
GPIO groups, where at least one interrupt happened, and convert
it to returned value by IRQ_RETVAL() macro.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>