diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2026-02-23 19:06:51 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-03-19 16:15:17 +0100 |
| commit | 05f5b7a57be356c90aee337dbd2a63e1aefc3b08 (patch) | |
| tree | e5ba251e7eed05e5e7e1b9416a931b5fc818a582 /include/net/aligned_data.h | |
| parent | d97fc1b29513010b60fde874c7f0ba816744e18c (diff) | |
pinctrl: cy8c95x0: Don't miss reading the last bank registers
commit b6c3af46c26f2d07c10a1452adc34b821719327e upstream.
When code had been changed to use for_each_set_clump8(), it mistakenly
switched from chip->nport to chip->tpin since the cy8c9540 and cy8c9560
have a 4-pin gap. This, in particular, led to the missed read of
the last bank interrupt status register and hence missing interrupts
on those pins. Restore the upper limit in for_each_set_clump8() to take
into consideration that gap.
Fixes: 83e29a7a1fdf ("pinctrl: cy8c95x0; Switch to use for_each_set_clump8()")
Cc: stable@vger.kernel.org
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
