diff options
author | Sven Peter <sven@svenpeter.dev> | 2021-09-28 17:54:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-05 12:43:05 +0200 |
commit | c7260e29dd208e5134147e5614d3413b4014b685 (patch) | |
tree | 2485b2f3de36fd3cfa2721789ae57b34f16b301f /.gitattributes | |
parent | 0fbb79b7fd2c915d2fb8c3ce8a1d38fdfb1d8e91 (diff) |
usb: typec: tipd: Add short-circuit for no irqs
If no interrupts are set in IntEventX directly skip to the end of the
interrupt handler and return IRQ_NONE instead of IRQ_HANDLED.
This possibly allows to detect spurious interrupts if the i2c bus is fast
enough.
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Sven Peter <sven@svenpeter.dev>
Link: https://lore.kernel.org/r/20210928155502.71372-4-sven@svenpeter.dev
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions