radio: iris: Fix the FM FTM Tx configuration failure

FM configuration failure is due to two issues. Since the calibration
will take around 6 seconds to complete, any commands sent to SOC
during that time will fail.Added a state machine to prevent the
execution of another command while FM calibration is in progress.

The other issues is with the Get tuner command.FM kernel driver is
sending the Rx specific command to get the Tx configuration.
Send the proper command to get the TX configuration parameters.

CRs-Fixed: 317658
Change-Id: I54e637c267cbdb88d15d68d8ad7ceb72f985c54d
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
diff --git a/include/media/radio-iris.h b/include/media/radio-iris.h
index dbdb651..130bc3d 100644
--- a/include/media/radio-iris.h
+++ b/include/media/radio-iris.h
@@ -198,6 +198,7 @@
 #define HCI_FM_STATION_DBG_PARAM_CMD 12
 #define HCI_FM_ENABLE_TRANS_CMD 13
 #define HCI_FM_DISABLE_TRANS_CMD 14
+#define HCI_FM_GET_TX_CONFIG 15
 
 
 /* Defines for FM TX*/
@@ -241,14 +242,6 @@
 	__u8    rt_data[TX_RT_DATA_LENGTH];
 } __packed;
 
-struct hci_fm_get_trans_conf_rsp {
-	__u8    status;
-	__u8	emphasis;
-	__u8	rds_std;
-	__u32	band_low_limit;
-	__u32	band_high_limit;
-} __packed;
-
 struct hci_fm_mute_mode_req {
 	__u8	hard_mute;
 	__u8	soft_mute;
@@ -428,6 +421,10 @@
 	struct hci_fm_recv_conf_req recv_conf_rsp;
 } __packed;
 
+struct hci_fm_get_trans_conf_rsp {
+	__u8    status;
+	struct hci_fm_trans_conf_req_struct trans_conf_rsp;
+} __packed;
 struct hci_fm_sig_threshold_rsp {
 	__u8    status;
 	__u8    sig_threshold;