]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: topology: pass volume min/max linear value to FW
authorZhu Yingjiang <yingjiang.zhu@linux.intel.com>
Wed, 12 Jun 2019 17:01:46 +0000 (12:01 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 13 Jun 2019 18:55:22 +0000 (19:55 +0100)
commitf58e4b0bd540077ce4971d8c94af0da142006026
treeb0a134b4ea4ca5de72be694821dc0cf5b504f8e5
parent41d99839374e5109b39ee0b45c034dab5b54742f
ASoC: SOF: topology: pass volume min/max linear value to FW

The driver currently passes the volume ramp type and length
topology tokens to firmware, but the min and max volume are
not set. This patch provides a correction to convert the
information from the topology file and pass the linear volume
min/max value to the firmware to improve transitions.

Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/topology.c