<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/nfc/trf7970a.c, branch linux-4.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-06-08T21:16:31Z</updated>
<entry>
<title>NFC: trf7970a: Handle extra byte in response to Type 5 RMB commands</title>
<updated>2015-06-08T21:16:31Z</updated>
<author>
<name>Mark A. Greer</name>
</author>
<published>2015-04-24T17:37:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ab714817d7e891608d31f6996b1e4c43cf2bf342'/>
<id>urn:sha1:ab714817d7e891608d31f6996b1e4c43cf2bf342</id>
<content type='text'>
The current versions of the trf7970a has an erratum where it returns
an extra byte in the response to 'Read Multiple Block' (RMB) commands.
This command is issued to Type 5 tags (i.e., ISO/IEC 15693 tags) by
the neard daemon.

To handle this, define a new Device Tree property,
't5t-rmb-extra-byte-quirk', which indicates that the associated
trf7970a device has this erratum.  The trf7970a device driver
will then ensure that the response length to RMB commands is
reduced by one byte (for devices with the erratum).

Signed-off-by: Mark A. Greer &lt;mgreer@animalcreek.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM</title>
<updated>2014-12-15T14:12:21Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2014-12-14T22:14:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e8a9235c7c9257835a941ce89ea760ee95d94a70'/>
<id>urn:sha1:e8a9235c7c9257835a941ce89ea760ee95d94a70</id>
<content type='text'>
After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is
selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks
depending on CONFIG_PM_RUNTIME may now be changed to depend on
CONFIG_PM.

Replace CONFIG_PM_RUNTIME with CONFIG_PM in drivers/nfc/trf7970a.c.

Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: trf7970a: Unlock mutex before exiting _trf7970a_tg_listen()</title>
<updated>2014-09-23T22:28:23Z</updated>
<author>
<name>Mark A. Greer</name>
</author>
<published>2014-09-23T18:25:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fc0ae24386142299db14dfea7f32a20022d94d90'/>
<id>urn:sha1:fc0ae24386142299db14dfea7f32a20022d94d90</id>
<content type='text'>
The recently added _trf7970a_tg_listen() routine
has some return paths that don't unlock the mutex
that is locked when the routine is entered.  Fix
this by always unlocking the mutex before returning.

Signed-off-by: Mark A. Greer &lt;mgreer@animalcreek.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: trf7970a: Unlock mutex before exiting trf7970a_irq()</title>
<updated>2014-09-23T22:28:23Z</updated>
<author>
<name>Mark A. Greer</name>
</author>
<published>2014-09-23T18:25:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b9e3016a5369839bf923c8d2bec9d1552e50f3f3'/>
<id>urn:sha1:b9e3016a5369839bf923c8d2bec9d1552e50f3f3</id>
<content type='text'>
Recent changes to trf7970a_irq() added a couple return
paths that don't unlock the mutex that is locked when
the routine is entered.  Fix this by ensuring the mutex
is always unlocked before returning.

Signed-off-by: Mark A. Greer &lt;mgreer@animalcreek.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: trf7970a: Remove unnecessary local variable initialization</title>
<updated>2014-09-23T22:28:23Z</updated>
<author>
<name>Mark A. Greer</name>
</author>
<published>2014-09-23T18:25:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=55ef2e75ccf0d91f7b2f4251dc3b9e56df840928'/>
<id>urn:sha1:55ef2e75ccf0d91f7b2f4251dc3b9e56df840928</id>
<content type='text'>
There is no need to initialize the 'ret' variable
in trf7970a_resume().

Signed-off-by: Mark A. Greer &lt;mgreer@animalcreek.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: trf7970a: Remove useless local variable</title>
<updated>2014-09-23T22:28:22Z</updated>
<author>
<name>Mark A. Greer</name>
</author>
<published>2014-09-23T18:25:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=671970f531378e2a22ba0168d85dfca1f4e082c4'/>
<id>urn:sha1:671970f531378e2a22ba0168d85dfca1f4e082c4</id>
<content type='text'>
The trf7970a_suspend() routine always returns
zero so don't use a local return variable to
hold the return value.  This fixes up a smatch
warning.

Signed-off-by: Mark A. Greer &lt;mgreer@animalcreek.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: trf7970a: Add Target Mode Detection Support</title>
<updated>2014-09-07T21:13:45Z</updated>
<author>
<name>Mark A. Greer</name>
</author>
<published>2014-09-02T22:12:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cb174aba86fe10ddac8b692c90a9480526c02953'/>
<id>urn:sha1:cb174aba86fe10ddac8b692c90a9480526c02953</id>
<content type='text'>
Add the ability to detect the mode (i.e., RF technology)
used by the initiator.  The RF technology that was
detected can be retrieved by calling the 'tg_get_rf_tech'
driver hook.

Signed-off-by: Mark A. Greer &lt;mgreer@animalcreek.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: trf7970a: Add Target Mode Support</title>
<updated>2014-09-07T21:13:45Z</updated>
<author>
<name>Mark A. Greer</name>
</author>
<published>2014-09-02T22:12:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=13b4272a8264220ec043a922fd1fa05da72d57ae'/>
<id>urn:sha1:13b4272a8264220ec043a922fd1fa05da72d57ae</id>
<content type='text'>
Add target mode support to the trf7970a
NFC driver.  This effectively enables full
Peer-to-Peer support.

To handle changing framing between sending
a response frame and receiving the subsequent
request frame, most of the framing changes
take effect in the interrupt handler and not
in trf7970a_tg_config_framing().

Signed-off-by: Mark A. Greer &lt;mgreer@animalcreek.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: trf7970a: Handle timeout values of zero</title>
<updated>2014-09-07T21:13:45Z</updated>
<author>
<name>Mark A. Greer</name>
</author>
<published>2014-09-02T22:12:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1961843ceeca0d3e55744bba7ae8d9e23d04cf6a'/>
<id>urn:sha1:1961843ceeca0d3e55744bba7ae8d9e23d04cf6a</id>
<content type='text'>
The digital layer can try to send a command with a
timeout value of zero (e.g., digital_tg_send_psl_res().
The zero value is used as a flag to indicate that
the driver should not expect a response.  To handle
this, the driver sets an internal timer because it
should still get an interrupt with the TX bit set
in the IRQ Status Register.  When it gets that
interrupt, it returns a return value of '0'.
If it doesn't get the interrupt before timing out,
it returns ETIMEDOUT as usual.

Signed-off-by: Mark A. Greer &lt;mgreer@animalcreek.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: trf7970a: Cancel timer when error encountered</title>
<updated>2014-09-07T21:13:45Z</updated>
<author>
<name>Mark A. Greer</name>
</author>
<published>2014-09-02T22:12:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6fb9edcb43d0b1bf0ac2aaf6ba488d105c45f477'/>
<id>urn:sha1:6fb9edcb43d0b1bf0ac2aaf6ba488d105c45f477</id>
<content type='text'>
Some paths leave a timer still running when
trf7970a_send_err_upstream() is called.  This
can cause a timeout to occur in a subsequent
transaction making it fail.  Fix this by ensuring
there is no timer running before sending an error
upstream.

Signed-off-by: Mark A. Greer &lt;mgreer@animalcreek.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
</feed>
