Thread (17 messages) 17 messages, 4 authors, 2021-08-25

Re: [PATCH v2 3/5] i2c: pmcmsp: fix IRQ check

From: Wolfram Sang <wsa@kernel.org>
Date: 2021-08-17 20:08:19

On Sun, Jul 04, 2021 at 05:41:50PM +0300, Sergey Shtylyov wrote:
The driver's probe() method is written as if platform_get_irq() returns 0
on error, while actually it returns a negative error code (with all the
other values considered valid IRQs).  Rewrite the driver's IRQ checking
code to pass the positive IRQ #s to request_irq() and use polling mode
when platform_get_irq() returns negative error code (or IRQ0)...

Fixes: 1b144df1d7d6 ("i2c: New PMC MSP71xx TWI bus driver")
Signed-off-by: Sergey Shtylyov <redacted>
The driver has been removed meanwhile.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help