Commit 064d0047 authored by Christophe Ricard's avatar Christophe Ricard Committed by Samuel Ortiz

NFC: st-nci: Add few code style fixes

Add some few code style fixes.
Signed-off-by: default avatarChristophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 96d4581f
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#define DRIVER_DESC "NCI NFC driver for ST_NCI" #define DRIVER_DESC "NCI NFC driver for ST_NCI"
/* ndlc header */ /* ndlc header */
#define ST_NCI_FRAME_HEADROOM 1 #define ST_NCI_FRAME_HEADROOM 1
#define ST_NCI_FRAME_TAILROOM 0 #define ST_NCI_FRAME_TAILROOM 0
#define ST_NCI_I2C_MIN_SIZE 4 /* PCB(1) + NCI Packet header(3) */ #define ST_NCI_I2C_MIN_SIZE 4 /* PCB(1) + NCI Packet header(3) */
......
...@@ -62,7 +62,7 @@ struct st_nci_pipe_info { ...@@ -62,7 +62,7 @@ struct st_nci_pipe_info {
#define ST_NCI_EVT_SE_HARD_RESET 0x20 #define ST_NCI_EVT_SE_HARD_RESET 0x20
#define ST_NCI_EVT_TRANSMIT_DATA 0x10 #define ST_NCI_EVT_TRANSMIT_DATA 0x10
#define ST_NCI_EVT_WTX_REQUEST 0x11 #define ST_NCI_EVT_WTX_REQUEST 0x11
#define ST_NCI_EVT_SE_SOFT_RESET 0x11 #define ST_NCI_EVT_SE_SOFT_RESET 0x11
#define ST_NCI_EVT_SE_END_OF_APDU_TRANSFER 0x21 #define ST_NCI_EVT_SE_END_OF_APDU_TRANSFER 0x21
#define ST_NCI_EVT_HOT_PLUG 0x03 #define ST_NCI_EVT_HOT_PLUG 0x03
......
...@@ -407,7 +407,7 @@ static void nci_hci_hcp_message_rx(struct nci_dev *ndev, u8 pipe, ...@@ -407,7 +407,7 @@ static void nci_hci_hcp_message_rx(struct nci_dev *ndev, u8 pipe,
break; break;
} }
nci_req_complete(ndev, 0); nci_req_complete(ndev, NCI_STATUS_OK);
} }
static void nci_hci_msg_rx_work(struct work_struct *work) static void nci_hci_msg_rx_work(struct work_struct *work)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment