diff options
author | Matthias Schiffer <[email protected]> | 2021-07-16 12:00:48 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2021-08-16 13:49:34 +0100 |
commit | a946506c48f3bd09363c9d2b0a178e55733bcbb6 (patch) | |
tree | e2bae41d9a44d26aace3144dc23bedf7423d540f /lib/test_overflow.c | |
parent | c753ea31781aaab2dccc3e6f297cfde3c99f0ba1 (diff) |
mfd: tqmx86: Clear GPIO IRQ resource when no IRQ is set
The driver was registering IRQ 0 when no IRQ was set. This leads to
warnings with newer kernels.
Clear the resource flags, so no resource is registered at all in this
case.
Fixes: 2f17dd34ffed ("mfd: tqmx86: IO controller with I2C, Wachdog and GPIO")
Signed-off-by: Matthias Schiffer <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions