• Mark A. Greer's avatar
    NFC: trf7970a: Handle extra byte in response to Type 5 RMB commands · ab714817
    Mark A. Greer authored
    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: default avatarMark A. Greer <mgreer@animalcreek.com>
    Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
    ab714817
trf7970a.c 60.8 KB