Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

NFC: nfcmrvl: set PB_BAIL_OUT at setup

PB_BAIL_OUT parameter as to be set to one. This is needed because
digital protocol 1.0 is used in combination with ISO15693 protocol.

Signed-off-by: Vincent Cuissard <cuissard@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

authored by

Vincent Cuissard and committed by
Samuel Ortiz
d0dcad8b 34ac4966

+9
+3
drivers/nfc/nfcmrvl/main.c
··· 82 82 83 83 static int nfcmrvl_nci_setup(struct nci_dev *ndev) 84 84 { 85 + __u8 val = 1; 86 + 87 + nci_set_config(ndev, NFCMRVL_PB_BAIL_OUT, 1, &val); 85 88 return 0; 86 89 } 87 90
+6
drivers/nfc/nfcmrvl/nfcmrvl.h
··· 33 33 #define NFCMRVL_NCI_MAX_EVENT_SIZE 260 34 34 35 35 /* 36 + ** NCI FW Parmaters 37 + */ 38 + 39 + #define NFCMRVL_PB_BAIL_OUT 0x11 40 + 41 + /* 36 42 ** HCI defines 37 43 */ 38 44