]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: btmrvl: remove cal-data byte swapping and redundant mem copy
authorBing Zhao <bzhao@marvell.com>
Fri, 1 Nov 2013 22:28:25 +0000 (15:28 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 1 Nov 2013 22:37:27 +0000 (15:37 -0700)
commitcebd8304157c99d9f137aa1aa028c0b3124a2244
tree4efc0508355cece46c5b55a0e7d667fa7687f78e
parent6857c04c22317671889271248d54f71be2f9af5a
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>
drivers/bluetooth/btmrvl_drv.h
drivers/bluetooth/btmrvl_main.c