Messages in this thread | | | Date | Mon, 2 May 2016 01:18:00 +0200 | From | Samuel Ortiz <> | Subject | Re: [PATCH 08/11] NFC: pn533: reduce output when stopping poll |
| |
Hi Michael,
On Thu, Apr 21, 2016 at 04:43:56PM +0200, Michael Thalmeier wrote: > @@ -1259,7 +1259,8 @@ static int pn533_rf_complete(struct pn533 *dev, void *arg, > if (IS_ERR(resp)) { > rc = PTR_ERR(resp); > > - nfc_err(dev->dev, "RF setting error %d\n", rc); > + if (rc != -ENOENT) > + nfc_err(dev->dev, "RF setting error %d\n", rc); Why ?
> > return rc; > } > @@ -1416,9 +1417,6 @@ static int pn533_poll_complete(struct pn533 *dev, void *arg, > if (IS_ERR(resp)) { > rc = PTR_ERR(resp); > > - nfc_err(dev->dev, "%s Poll complete error %d\n", > - __func__, rc); > - Why are you removing that one ?
Cheers, Samuel.
| |