[PATCH 0/3] ASOC: wm8991/stac9766: fix wrong usage of TLV-related macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux