• Mark Greer's avatar
    Revert "NFC: trf7970a: Handle extra byte in response to Type 5 RMB commands" · a81d1ab3
    Mark Greer authored
    This reverts commit ab714817.
    
    The original commit was designed to handle a bug in the trf7970a NFC
    controller where an extra byte was returned in Read Multiple Blocks (RMB)
    command responses.  However, it has become less clear whether it is a bug
    in the trf7970a or in the tag.  In addition, it was assumed that the extra
    byte was always returned but it turns out that is not always the case. The
    result is that a byte of good data is trimmed off when the extra byte is
    not present ultimately causing the neard deamon to fail the read.
    
    Since the trf7970a driver does not have the context to know when to trim
    the byte or not, remove the code from the trf7970a driver all together
    (and move it up to the neard daemon).  This has the added benefit of
    simplifying the kernel driver and putting the extra complexity into
    userspace.
    
    CC: Rob Herring <robh@kernel.org>
    CC: devicetree@vger.kernel.org
    Signed-off-by: default avatarMark Greer <mgreer@animalcreek.com>
    Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
    a81d1ab3
Name
Last commit
Last update
..
fdp Loading commit data...
microread Loading commit data...
nfcmrvl Loading commit data...
nxp-nci Loading commit data...
pn533 Loading commit data...
pn544 Loading commit data...
s3fwrn5 Loading commit data...
st-nci Loading commit data...
st21nfca Loading commit data...
st95hf Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
mei_phy.c Loading commit data...
mei_phy.h Loading commit data...
nfcsim.c Loading commit data...
port100.c Loading commit data...
trf7970a.c Loading commit data...