[alsa-devel] [PATCH 0/3] ASOC: wm8991/stac9766: fix wrong usage of TLV-related macro
Takashi Sakamoto
o-takashi at sakamocchi.jp
Tue Sep 27 01:25:26 CEST 2016
Hi,
This patchset is for Linux 4.8-rc8.
In current implementation of drivers for wm899a and stac9766,
DECLARE_TLV_DB_LINEAR() is used to represent information about attenuation
and gain of volumes. According to their datasheet, the attenuation and
volumes are first-degree equation with dB coefficiency. It's not linear and
usage of the macro is wrong[1].
This patchset fixes the bug. As of 2016, these CODECs seem to EOL. So this
patchset is just for maintenance purpose to remove misuse of TLV-related
macros from tree.
[1] Re: [RFC] TLV entry for linear volume
http://www.spinics.net/lists/alsa-devel/msg03485.html
Takashi Sakamoto (3):
ASOC: wm8991: fix wrong usage of DECLARE_TLV_DB_LINEAR()
ASOC: wm8991: remove unused variable
ASOC: stac9766: fix wrong usage of DECLARE_TLV_DB_LINEAR()
sound/soc/codecs/stac9766.c | 8 ++++----
sound/soc/codecs/wm8991.c | 28 +++++++++++++++++++---------
2 files changed, 23 insertions(+), 13 deletions(-)
--
2.7.4
More information about the Alsa-devel
mailing list