Re: [PATCH v3 2/2] rtc: fix drivers that consider 0 as a valid IRQ in client->irq

2015-07-23 Thread Alexandre Belloni
On 05/06/2015 at 16:59:43 +0300, Octavian Purdila wrote : > Since patch "i2c / ACPI: Use 0 to indicate that device does not have > interrupt assigned" [1], 0 is not a valid i2c client irq anymore, so > change all driver's checks accordingly. > > The same issue occurs when the device is instantiate

[PATCH v3 2/2] rtc: fix drivers that consider 0 as a valid IRQ in client->irq

2015-06-05 Thread Octavian Purdila
Since patch "i2c / ACPI: Use 0 to indicate that device does not have interrupt assigned" [1], 0 is not a valid i2c client irq anymore, so change all driver's checks accordingly. The same issue occurs when the device is instantiated via device tree with no IRQ, or from the i2c sysfs interface, even