<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/nfc, branch v4.7</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.7</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.7'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-05-09T22:01:47Z</updated>
<entry>
<title>NFC: pn533: handle interrupted commands in pn533_recv_frame</title>
<updated>2016-05-09T22:01:47Z</updated>
<author>
<name>Michael Thalmeier</name>
<email>michael.thalmeier@hale.at</email>
</author>
<published>2016-04-21T14:43:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b31d5103c33280738188c51e226224dff4401c7b'/>
<id>urn:sha1:b31d5103c33280738188c51e226224dff4401c7b</id>
<content type='text'>
When pn533_recv_frame is called from within abort_command
context the current  dev-&gt;cmd is not guaranteed to be set.

Additionally on receiving an error status we can omit frame
checking and simply schedule the workqueue.

Signed-off-by: Michael Thalmeier &lt;michael.thalmeier@hale.at&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: pn533: reset poll modulation list before calling targets_found</title>
<updated>2016-05-09T22:01:16Z</updated>
<author>
<name>Michael Thalmeier</name>
<email>michael.thalmeier@hale.at</email>
</author>
<published>2016-04-21T14:43:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c952f915ce8567120ffdf12998ad0c945fbc93ac'/>
<id>urn:sha1:c952f915ce8567120ffdf12998ad0c945fbc93ac</id>
<content type='text'>
We need to reset the poll modulation list before calling
nfc_targets_found because otherwise userspace could run
before the modulation list is cleared and then get a "Cannot
activate target while polling" error upon calling activate_target.

Signed-off-by: Michael Thalmeier &lt;michael.thalmeier@hale.at&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: pn533: i2c: do not call pn533_recv_frame with aborted commands</title>
<updated>2016-05-09T21:59:47Z</updated>
<author>
<name>Michael Thalmeier</name>
<email>michael.thalmeier@hale.at</email>
</author>
<published>2016-04-21T14:43:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=30f98489f54e027001cc9b27c59840975871de65'/>
<id>urn:sha1:30f98489f54e027001cc9b27c59840975871de65</id>
<content type='text'>
When a command gets aborted the pn533 core does not need any RX
frames that may be received until a new frame is sent.

Signed-off-by: Michael Thalmeier &lt;michael.thalmeier@hale.at&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: pn533: fix order of initialization</title>
<updated>2016-05-09T21:59:18Z</updated>
<author>
<name>Michael Thalmeier</name>
<email>michael.thalmeier@hale.at</email>
</author>
<published>2016-04-21T14:43:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b16931b13c67f06ca74cc8d02797de480dea348b'/>
<id>urn:sha1:b16931b13c67f06ca74cc8d02797de480dea348b</id>
<content type='text'>
Correctly call nfc_set_parent_dev before nfc_register_device.
Otherwise the driver will OOPS when being removed.

Signed-off-by: Michael Thalmeier &lt;michael.thalmeier@hale.at&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: pn533: i2c: free irq on driver remove</title>
<updated>2016-05-09T21:56:23Z</updated>
<author>
<name>Michael Thalmeier</name>
<email>michael.thalmeier@hale.at</email>
</author>
<published>2016-04-21T14:43:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=79f09fa79cefdd9df40c9c590cc8dda544ebff26'/>
<id>urn:sha1:79f09fa79cefdd9df40c9c590cc8dda544ebff26</id>
<content type='text'>
The requested irq needs to be freed when removing the driver,
otherwise a following driver load fails to request the irq.

Signed-off-by: Michael Thalmeier &lt;michael.thalmeier@hale.at&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>nfc: st-nci: Move loopback usage from HCI to NCI</title>
<updated>2016-05-03T23:51:42Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2016-04-30T07:12:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3aacd7fe552b093fc24a8082e16467eb26c2fa32'/>
<id>urn:sha1:3aacd7fe552b093fc24a8082e16467eb26c2fa32</id>
<content type='text'>
NCI provides possible way to run loopback testing has done over HCI.

For us it offers many advantages:
- It simplifies the code: No more need for a vendor_cmds structure
- Loopback over HCI may not be supported in future st-nci firmware

Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>nfc: nci: Add an additional parameter to identify a connection id</title>
<updated>2016-05-03T23:43:21Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2016-04-30T07:12:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9b8d1a4cf2aa819d606b4e423a6523fc0d4460a2'/>
<id>urn:sha1:9b8d1a4cf2aa819d606b4e423a6523fc0d4460a2</id>
<content type='text'>
According to NCI specification, destination type and destination
specific parameters shall uniquely identify a single destination
for the Logical Connection.

Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>nfc: st21nfca: Remove duplicated ST21NFCA_ESE_HOST_ID from se.c</title>
<updated>2016-05-03T23:40:28Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2016-04-30T07:12:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=99adc394f2a4a16763bccbaa150b9d598b18c58f'/>
<id>urn:sha1:99adc394f2a4a16763bccbaa150b9d598b18c58f</id>
<content type='text'>
ST21NFCA_ESE_HOST_ID is already defined in st21nfca.h.

Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>nfc: st-nci: Remove redundant ST_NCI_HCI_HOST_ID_ESE from st-nci.h</title>
<updated>2016-05-03T23:39:36Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2016-04-30T07:12:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c50e8fef7bb5e4a77609e4120940458e419d463f'/>
<id>urn:sha1:c50e8fef7bb5e4a77609e4120940458e419d463f</id>
<content type='text'>
ST_NCI_HCI_HOST_ID_ESE is already having an equivalent in se.c
(ST_NCI_ESE_HOST_ID).

Remove and replace where relevant.

Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: st-nci: spi: Drop two useless checks in ACPI probe path</title>
<updated>2016-05-03T23:38:13Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2016-04-30T07:12:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1f34b20404443717a7ec77b447d86578f0478550'/>
<id>urn:sha1:1f34b20404443717a7ec77b447d86578f0478550</id>
<content type='text'>
When st_nci_spi_acpi_request_resources() gets called we
already know that the entries in -&gt;acpi_match_table have
matched ACPI ID of the device.
In addition spi_device pointer cannot be NULL in any case
(otherwise SPI core would not call -&gt;probe() for the driver
in the first place).

Drop the two useless checks from the driver.

Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
</feed>
