diff options
author | Eric Lapuyade <eric.lapuyade@linux.intel.com> | 2012-12-18 08:15:49 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-01-09 18:51:51 -0500 |
commit | bf71ab8ba53081c28b960d48e0c4cd1c17588aa6 (patch) | |
tree | fb6444f45ac21850fa5b7bed05fb19a93b4ee313 /drivers/nfc/pn544 | |
parent | 924d4a023ee6da2e40c78578829e68bcbabee2dd (diff) |
NFC: Add HCI quirks to support driver (non)standard implementations
Some chips diverge from the HCI spec in their implementation of standard
features. This adds a new quirks parameter to
nfc_hci_allocate_device() to let the driver indicate its divergence.
Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/pn544')
-rw-r--r-- | drivers/nfc/pn544/pn544.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/pn544/pn544.c b/drivers/nfc/pn544/pn544.c index cd8fb16f5416..ece834239852 100644 --- a/drivers/nfc/pn544/pn544.c +++ b/drivers/nfc/pn544/pn544.c | |||
@@ -833,7 +833,7 @@ int pn544_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name, | |||
833 | NFC_PROTO_ISO14443_B_MASK | | 833 | NFC_PROTO_ISO14443_B_MASK | |
834 | NFC_PROTO_NFC_DEP_MASK; | 834 | NFC_PROTO_NFC_DEP_MASK; |
835 | 835 | ||
836 | info->hdev = nfc_hci_allocate_device(&pn544_hci_ops, &init_data, | 836 | info->hdev = nfc_hci_allocate_device(&pn544_hci_ops, &init_data, 0, |
837 | protocols, llc_name, | 837 | protocols, llc_name, |
838 | phy_headroom + PN544_CMDS_HEADROOM, | 838 | phy_headroom + PN544_CMDS_HEADROOM, |
839 | phy_tailroom, phy_payload); | 839 | phy_tailroom, phy_payload); |