From: Johannes Stezenbach Date: Mon, 11 Jul 2011 15:01:23 +0000 (+0200) Subject: ASoC: STA32x: Add mixer controls for biquad coefficients X-Git-Tag: v3.1-rc1~271^2~2^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=796884391504426e9da15bdf76f73c5f4eda3714;p=pandora-kernel.git ASoC: STA32x: Add mixer controls for biquad coefficients The STA32x has a number of preset EQ settings, but also allows full user control of the biquad filter coeffcients (when "Automode EQ" is set to "User"). Each biquad has five signed, 24bit, fixed-point coefficients representing the range -1...1. The five biquad coefficients can be uploaded in one atomic operation into on-chip coefficient RAM. There are also a few prescale, postscale and mixing coefficients, in the same numeric format and range (a negative coefficient inverts phase). These coefficients are made available as SNDRV_CTL_ELEM_TYPE_BYTES mixer controls. Signed-off-by: Johannes Stezenbach Signed-off-by: Mark Brown --- Reading git-diff-tree failed