]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: cs35l56: Set correct upper volume limit
authorMark Brown <broonie@kernel.org>
Wed, 3 Jul 2024 16:30:47 +0000 (17:30 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 3 Jul 2024 16:30:47 +0000 (17:30 +0100)
commit91419b0d9ab203945e0ed4efb3cab84c45df0a21
tree0a1fb5faa5ac14bfbaeb8802331d137147114159
parentc288f0a1c08efa65f9e3bb7954eb3cefb966c97d
parent244389bd42870640c4b5ef672a360da329b579ed
ASoC: cs35l56: Set correct upper volume limit

Merge series from Richard Fitzgerald <rf@opensource.cirrus.com>:

These two commits set the upper limit of the Speaker Volume control
to +12dB instead of +100dB.

This should have been a simple 1-line change to the #define in the
header file, but only the HDA cs35l56 driver is using this define.
The ASoC cs35l56 driver was using hardcoded numbers instead of the
header defines.

So the first commit changes the ASoC driver to use the #defined
constants. The second commit corrects the value of the constant.