aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorMatthias Schiffer <[email protected]>2021-07-16 12:00:48 +0200
committerLee Jones <[email protected]>2021-08-16 13:49:34 +0100
commita946506c48f3bd09363c9d2b0a178e55733bcbb6 (patch)
treee2bae41d9a44d26aace3144dc23bedf7423d540f /lib/test_overflow.c
parentc753ea31781aaab2dccc3e6f297cfde3c99f0ba1 (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