summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/btmrvl_drv.h
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2015-01-07 08:36:55 +0300
committerMarcel Holtmann <marcel@holtmann.org>2015-01-08 08:36:50 +0300
commit0333d6dd3bc17468f42d0c455113fd9d50f7746e (patch)
treeaf1d4e11dc2b246d3960aa34e1b03e89f871e2b0 /drivers/bluetooth/btmrvl_drv.h
parent1c6098eb2b95a2af8b8ebaaf61d808b0071b639f (diff)
downloadlinux-0333d6dd3bc17468f42d0c455113fd9d50f7746e.tar.xz
Bluetooth: btmrvl: use msecs_to_jiffies within macro definition
This change improves readability and fixes allignment problem. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btmrvl_drv.h')
-rw-r--r--drivers/bluetooth/btmrvl_drv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bluetooth/btmrvl_drv.h b/drivers/bluetooth/btmrvl_drv.h
index 5513204c8bb2..e75f8ee2512c 100644
--- a/drivers/bluetooth/btmrvl_drv.h
+++ b/drivers/bluetooth/btmrvl_drv.h
@@ -28,9 +28,9 @@
#define BTM_UPLD_SIZE 2312
/* Time to wait until Host Sleep state change in millisecond */
-#define WAIT_UNTIL_HS_STATE_CHANGED 5000
+#define WAIT_UNTIL_HS_STATE_CHANGED msecs_to_jiffies(5000)
/* Time to wait for command response in millisecond */
-#define WAIT_UNTIL_CMD_RESP 5000
+#define WAIT_UNTIL_CMD_RESP msecs_to_jiffies(5000)
enum rdwr_status {
RDWR_STATUS_SUCCESS = 0,