These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / sound / soc / intel / atom / sst-atom-controls.h
index daecc58..93de804 100644 (file)
@@ -562,6 +562,8 @@ struct sst_ssp_config {
        u8 active_slot_map;
        u8 start_delay;
        u16 fs_width;
+       u8 frame_sync_polarity;
+       u8 data_polarity;
 };
 
 struct sst_ssp_cfg {
@@ -695,7 +697,7 @@ struct sst_gain_mixer_control {
        u16 module_id;
        u16 pipe_id;
        u16 task_id;
-       char pname[44];
+       char pname[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
        struct snd_soc_dapm_widget *w;
 };
 
@@ -867,4 +869,9 @@ struct sst_enum {
        SOC_DAPM_ENUM(SST_MUX_CTL_NAME(xpname, xinstance), \
                          SST_SSP_MUX_ENUM(xreg, xshift, xtexts))
 
+int sst_fill_ssp_slot(struct snd_soc_dai *dai, unsigned int tx_mask,
+                               unsigned int rx_mask, int slots, int slot_width);
+int sst_fill_ssp_config(struct snd_soc_dai *dai, unsigned int fmt);
+void sst_fill_ssp_defaults(struct snd_soc_dai *dai);
+
 #endif