|
@@ -468,7 +468,7 @@ static int stk8ba50_probe(struct i2c_client *client,
|
|
if (client->irq < 0)
|
|
if (client->irq < 0)
|
|
client->irq = stk8ba50_gpio_probe(client);
|
|
client->irq = stk8ba50_gpio_probe(client);
|
|
|
|
|
|
- if (client->irq >= 0) {
|
|
|
|
|
|
+ if (client->irq > 0) {
|
|
ret = devm_request_threaded_irq(&client->dev, client->irq,
|
|
ret = devm_request_threaded_irq(&client->dev, client->irq,
|
|
stk8ba50_data_rdy_trig_poll,
|
|
stk8ba50_data_rdy_trig_poll,
|
|
NULL,
|
|
NULL,
|