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)
commit65a18a46b274e64012fcf19d79ac62c8fb2a12e9
treeb0a134b4ea4ca5de72be694821dc0cf5b504f8e5
parentaa66fd80e0813fab0146e001b8bef8c4ffe0ba3a
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