diff options
author | Jeeja KP <jeeja.kp@intel.com> | 2017-03-24 18:40:25 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-03-29 13:53:06 +0200 |
commit | 7f975a385b9313a03c13fb0be0a129c626f9a54e (patch) | |
tree | 1697ad56ba42657de76d8fa85906d0e5ce814acb /sound/soc/intel/skylake/skl-topology.h | |
parent | Merge branch 'topic/hda' of git://git.kernel.org/pub/scm/linux/kernel/git/bro... (diff) | |
download | linux-7f975a385b9313a03c13fb0be0a129c626f9a54e.tar.xz linux-7f975a385b9313a03c13fb0be0a129c626f9a54e.zip |
ASoC: Intel: Skylake: Use the sig_bits to define dai bps capability
For calculating the HDA DMA format, use the max_bps supported by the
DAI caps instead of fixing it to 32/24. For host DMA the Max bps support
is 32, but in case of link DMA, this depends on the codec capability.
So use the sig_bits to define the bps supported by dai.
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake/skl-topology.h')
-rw-r--r-- | sound/soc/intel/skylake/skl-topology.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-topology.h b/sound/soc/intel/skylake/skl-topology.h index fefab0e99a3b..bf2c63b4ab83 100644 --- a/sound/soc/intel/skylake/skl-topology.h +++ b/sound/soc/intel/skylake/skl-topology.h @@ -257,6 +257,8 @@ struct skl_pipe_params { snd_pcm_format_t format; int link_index; int stream; + unsigned int host_bps; + unsigned int link_bps; }; struct skl_pipe { |