Merge "NFC: Driver: Remove unused macros and update ioctls arguments "
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
9214369e79
12
nfc/common.h
12
nfc/common.h
@@ -60,15 +60,9 @@
|
||||
// FW DNLD packet details
|
||||
#define FW_MSG_CMD_RSP 0x00
|
||||
#define DL_HDR_LEN (2)
|
||||
#define FW_PAYLOAD_LEN_IDX 1
|
||||
#define DL_CRC_LEN (2)
|
||||
|
||||
#define NCI_RSP_PKT_TYPE (0x40)
|
||||
#define FW_MIN_PAYLOAD_LEN 4
|
||||
#define MIN_NFC_DL_FRAME_SIZE 3
|
||||
|
||||
#define GET_VERSION_CMD_LEN 8
|
||||
#define GET_SESSION_STATE_CMD_LEN 8
|
||||
#define MAX_NCI_PAYLOAD_LEN (255)
|
||||
#define MAX_NCI_BUFFER_SIZE (NCI_HDR_LEN + MAX_NCI_PAYLOAD_LEN)
|
||||
/*
|
||||
@@ -101,9 +95,9 @@
|
||||
// Ioctls
|
||||
// The type should be aligned with MW HAL definitions
|
||||
|
||||
#define NFC_SET_PWR _IOW(NFC_MAGIC, 0x01, unsigned int)
|
||||
#define ESE_SET_PWR _IOW(NFC_MAGIC, 0x02, unsigned int)
|
||||
#define ESE_GET_PWR _IOR(NFC_MAGIC, 0x03, unsigned int)
|
||||
#define NFC_SET_PWR _IOW(NFC_MAGIC, 0x01, uint32_t)
|
||||
#define ESE_SET_PWR _IOW(NFC_MAGIC, 0x02, uint32_t)
|
||||
#define ESE_GET_PWR _IOR(NFC_MAGIC, 0x03, uint32_t)
|
||||
|
||||
#define DTS_IRQ_GPIO_STR "qcom,sn-irq"
|
||||
#define DTS_VEN_GPIO_STR "qcom,sn-ven"
|
||||
|
Reference in New Issue
Block a user