19 May
2010
19 May
'10
6:55 a.m.
On Wed, 19 May 2010, Peter Ujfalusi wrote:
The DB_RANGE need to be used on some HW, since the gain on volume control is not continuous, and has to be divided into several sub DB_SCALE ranges. ASoC has a feature to override the HW default volume range, and in this case when the volume range is less than the HW maximum we do not need to go through the whole DB_RANGE, but we need to stop where the kcontrol's maximum tell us.
Signed-off-by: Peter Ujfalusi peter.ujfalusi@nokia.com
Unfortunately, it does not look like a clean way in my eyes. If the driver pushes some limits to the control (volume) range, it should do it also for TLVs.
Jaroslav
----- Jaroslav Kysela perex@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.