diff options
author | Bing Zhao <bzhao@marvell.com> | 2013-11-01 18:28:25 -0400 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-12-04 08:09:03 -0500 |
commit | 8a4934f1d62b8be7a00cdb4e65124f4d02d412f3 (patch) | |
tree | 7430963bf508518e0ce48caba946292d81ed6042 /drivers/bluetooth/btmrvl_drv.h | |
parent | 433a9389a11778f1bc342789abccac9ce46eee82 (diff) |
Bluetooth: btmrvl: remove cal-data byte swapping and redundant mem copy
The device tree property can define the cal-data in proper order.
There is no need to swap the bytes in driver.
Also remove the redundant cal-data memory copy after removing the
byte swapping.
Cc: Mike Frysinger <vapier@chromium.org>
Cc: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Hyuckjoo Lee <hyuckjoo.lee@samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btmrvl_drv.h')
-rw-r--r-- | drivers/bluetooth/btmrvl_drv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/btmrvl_drv.h b/drivers/bluetooth/btmrvl_drv.h index 98187f09393d..7399303d7d99 100644 --- a/drivers/bluetooth/btmrvl_drv.h +++ b/drivers/bluetooth/btmrvl_drv.h | |||
@@ -120,7 +120,7 @@ struct btmrvl_private { | |||
120 | #define PS_SLEEP 0x01 | 120 | #define PS_SLEEP 0x01 |
121 | #define PS_AWAKE 0x00 | 121 | #define PS_AWAKE 0x00 |
122 | 122 | ||
123 | #define BT_CMD_DATA_SIZE 32 | 123 | #define BT_CAL_HDR_LEN 4 |
124 | #define BT_CAL_DATA_SIZE 28 | 124 | #define BT_CAL_DATA_SIZE 28 |
125 | 125 | ||
126 | struct btmrvl_event { | 126 | struct btmrvl_event { |