]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Fix ibs/obs calc for non-integral sampling rates
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Tue, 12 Apr 2016 05:01:23 +0000 (10:31 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 12 Apr 2016 05:05:55 +0000 (06:05 +0100)
commita5d894fb4976f91b0736e5574493730f4ce02518
tree8d7fec8a67b74cab9a2d74563166119ab6d8d7d9
parent5b8655d3f00c5634dab22f4d276ab76a5b334992
ASoC: Intel: Skylake: Fix ibs/obs calc for non-integral sampling rates

FW expects sampling rate rounded up to next higher integer value
when calculating ibs/obs. For example for 44.1k, it should be
rounded up to 45 to calculate ibs/obs.

Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-topology.c