|
@@ -210,14 +210,14 @@ static irqreturn_t fdp_nci_i2c_irq_thread_fn(int irq, void *phy_id)
|
|
|
struct sk_buff *skb;
|
|
|
int r;
|
|
|
|
|
|
- client = phy->i2c_dev;
|
|
|
- dev_dbg(&client->dev, "%s\n", __func__);
|
|
|
-
|
|
|
if (!phy || irq != phy->i2c_dev->irq) {
|
|
|
WARN_ON_ONCE(1);
|
|
|
return IRQ_NONE;
|
|
|
}
|
|
|
|
|
|
+ client = phy->i2c_dev;
|
|
|
+ dev_dbg(&client->dev, "%s\n", __func__);
|
|
|
+
|
|
|
r = fdp_nci_i2c_read(phy, &skb);
|
|
|
|
|
|
if (r == -EREMOTEIO)
|