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)
commitf0c8e1d9c4f473dfc771a613b602f1841afe8f8b
tree8d7fec8a67b74cab9a2d74563166119ab6d8d7d9
parentb8af8b1d80db13dd4f5e5a3698180bd9c14aee03
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