]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4734b9f43aab239ca36dc0e73105caaf87f6a8df
tree98eb875794acc72107a4ea49b637080d20e44f6d
parent2a0af47b504462c10da51d4f6e38dcfc2cf8fe71
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