ASoC: twl6040 - Add method to query optimum PDM_DL1 gain
authorLiam Girdwood <lrg@ti.com>
Wed, 11 Jan 2012 12:43:24 +0000 (12:43 +0000)
committerLiam Girdwood <lrg@ti.com>
Wed, 11 Jan 2012 12:43:24 +0000 (12:43 +0000)
commite48b46ba169181dc88ea48e31dcb4afcf8778397
tree48aea71559fec05f3cfab43602657aaa60cf8627
parentf75a8ff67d161b5166a2c2360bb2ffaefd5eb853
ASoC: twl6040 - Add method to query optimum PDM_DL1 gain

The DL1 PDM interface adds a little gain depending on the output device.
Add a method to retrieve the gain value for machine driver usage.

Signed-off-by: Liam Girdwood <lrg@ti.com>
sound/soc/codecs/twl6040.c
sound/soc/codecs/twl6040.h