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>
This commit is contained in:
Родитель
34ac496641
Коммит
d0dcad8bd3
|
@ -82,6 +82,9 @@ static int nfcmrvl_nci_send(struct nci_dev *ndev, struct sk_buff *skb)
|
||||||
|
|
||||||
static int nfcmrvl_nci_setup(struct nci_dev *ndev)
|
static int nfcmrvl_nci_setup(struct nci_dev *ndev)
|
||||||
{
|
{
|
||||||
|
__u8 val = 1;
|
||||||
|
|
||||||
|
nci_set_config(ndev, NFCMRVL_PB_BAIL_OUT, 1, &val);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,12 @@
|
||||||
#define NFCMRVL_GPIO_PIN_NFC_ACTIVE 0xB
|
#define NFCMRVL_GPIO_PIN_NFC_ACTIVE 0xB
|
||||||
#define NFCMRVL_NCI_MAX_EVENT_SIZE 260
|
#define NFCMRVL_NCI_MAX_EVENT_SIZE 260
|
||||||
|
|
||||||
|
/*
|
||||||
|
** NCI FW Parmaters
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define NFCMRVL_PB_BAIL_OUT 0x11
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** HCI defines
|
** HCI defines
|
||||||
*/
|
*/
|
||||||
|
|
Загрузка…
Ссылка в новой задаче