ASoC: Volume controls are never of boolean type
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 15 Apr 2009 20:37:46 +0000 (21:37 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 16 Apr 2009 10:03:10 +0000 (11:03 +0100)
commitfd5dfad9cf51bc3575b5e50193403de4a3de23bc
tree98eb875794acc72107a4ea49b637080d20e44f6d
parent3f1a4d826751d9759fc95da4e47d08d2745e0055
ASoC: Volume controls are never of boolean type

Some limited volume controls (mostly simple attenuations) have only two
settings so the ASoC info functions misreport them as booleans. Since
we currently have no better information check for " Volume" in the
control name and always report any controls matching as being integer.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c