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)
commit474d147ad1ecc98e50a65c9f350fadfcc37a8bb4
treed48e05e220440765ab813bdf15a425de0f59fe9f
parentbb9a13a0209c56cdf27d125a1f2f6f34378c64f4
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