diff options
author | Vinod Koul <vinod.koul@intel.com> | 2015-05-06 22:06:40 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-05-06 19:50:22 +0100 |
commit | 1f2d86f1c0c9283daa8f215cfe465125c81a6fe5 (patch) | |
tree | efd93b01042e5462e00e9338d9d0d65ef0eab908 /sound/soc/intel/atom/sst-atom-controls.c | |
parent | 673c4f896a10a8df7d09525fe41f5663e0ca1bd4 (diff) |
ASoC: Intel: add frame and data polarity to ssp config
The current ssp configuration was not configuring the frame sync polarity
and data polarity. Some codecs do need these different so add them in ssp
configuration now
Signed-off-by: Praveen Diwakar <praveen.diwakar@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/atom/sst-atom-controls.c')
-rw-r--r-- | sound/soc/intel/atom/sst-atom-controls.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/intel/atom/sst-atom-controls.c b/sound/soc/intel/atom/sst-atom-controls.c index 90aa5c0476f3..59517b3fa04d 100644 --- a/sound/soc/intel/atom/sst-atom-controls.c +++ b/sound/soc/intel/atom/sst-atom-controls.c @@ -789,6 +789,8 @@ static const struct sst_ssp_config sst_ssp_configs = { .fs_frequency = SSP_FS_48_KHZ, .active_slot_map = 0xF, .start_delay = 0, + .frame_sync_polarity = SSP_FS_ACTIVE_HIGH, + .data_polarity = 1, }; int send_ssp_cmd(struct snd_soc_dai *dai, const char *id, bool enable) |