Reset slimbus port on AUDIOFOCUS LOSS
On Audio focus loss, slave device, FM, keeps on sending packets to
master device, audio manager, even master is disconnected to slave
and slave's buffer overflowed after some time. Due to this, on Audio
focus gain, slave don't send packets to master. Hence no audio for
FM. Reset slimbus data port to overcome this situation.
CRs-Fixed: 1082673
Change-Id: I8317c6e82fe4844970e84e929e2c6328284c6ca9
diff --git a/helium/radio-helium.h b/helium/radio-helium.h
index 070dafa..200e006 100644
--- a/helium/radio-helium.h
+++ b/helium/radio-helium.h
@@ -245,6 +245,7 @@
#define HCI_OCF_FM_RDS_RT_REQ 0x0008
#define HCI_OCF_FM_RDS_PS_REQ 0x0009
+#define HCI_OCF_FM_ENABLE_SLIMBUS (0x000E)
/* HCI common control commands opcode */
#define HCI_OCF_FM_TUNE_STATION_REQ 0x0001
@@ -1231,6 +1232,7 @@
int hci_fm_default_data_write_req(struct hci_fm_def_data_wr_req * data_wrt);
int hci_fm_get_station_dbg_param_req();
int hci_fm_get_station_cmd_param_req();
+int hci_fm_enable_slimbus(uint8_t enable);
struct fm_hal_t {
struct radio_helium_device *radio;