]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sun4i-codec: use consistent names for PA controls
authorAdam Sampson <ats@offog.org>
Tue, 27 Oct 2015 21:00:45 +0000 (21:00 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 5 Nov 2015 12:28:51 +0000 (12:28 +0000)
commit0ced1bd2be01ce23fc7fc3cb5e21e0f33b83f1b2
treed48e05e220440765ab813bdf15a425de0f59fe9f
parent16b456f44ea1f89207f051c205eafbecf171900e
ASoC: sun4i-codec: use consistent names for PA controls

The power amplifier for the headphone output is called "the PA" and "the
headphone amplifier" in Allwinner's documentation for the A10 and A20.
sun4i-codec calls it "PA" in some places and "Pre-Amplifier" (which
isn't really accurate) in others, leading to user-visible controls with
different names referring to the same device.

When this driver implements audio input, it'll also need to expose
controls for the line and mic input preamps, so just referring to "the
Pre-Amplifier" will be ambiguous.

Change it to use "Power Amplifier" consistently for the power
amplifier's controls.

Signed-off-by: Adam Sampson <ats@offog.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-codec.c