Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da509108 authored by Umesh Vats's avatar Umesh Vats Committed by Gerrit - the friendly Code Review server
Browse files

bluetooth: Update the ioctl code



Updated the ioctl code for getting value of reset gpio
as it conflicts with  get chipset id ioctl code.

Change-Id: I0c8512be891f31cc398c3246cf8a2b143367ab96
Signed-off-by: default avatarUmesh Vats <uvats@codeaurora.org>
parent 8b72bbf9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -893,7 +893,7 @@ static long bt_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
		break;
	case BT_CMD_CHIPSET_VERS:
		chipset_version = (int)arg;
		BT_PWR_ERR("BT_CMD_CHIP_VERS soc_version:%x", chipset_version);
		BT_PWR_ERR("unified Current SOC Version : %x", chipset_version);
		if (chipset_version) {
			soc_id = chipset_version;
			if (soc_id == QCA_HSP_SOC_ID_0100 ||
+1 −1
Original line number Diff line number Diff line
@@ -93,7 +93,7 @@ int get_chipset_version(void);
#define BT_CMD_SLIM_TEST            0xbfac
#define BT_CMD_PWR_CTRL             0xbfad
#define BT_CMD_CHIPSET_VERS         0xbfae
#define BT_CMD_GETVAL_RESET_GPIO    0xbfaf
#define BT_CMD_GETVAL_RESET_GPIO    0xbfb5
#define BT_CMD_GETVAL_SW_CTRL_GPIO  0xbfb0
#define BT_CMD_GETVAL_VDD_AON_LDO   0xbfb1
#define BT_CMD_GETVAL_VDD_DIG_LDO   0xbfb2