diff options
author | Manuel Lauss <manuel.lauss@googlemail.com> | 2012-07-31 14:42:27 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-07-31 16:42:07 +0100 |
commit | d0e3cce9144eb8bff0852531aadbe221addaa2d5 (patch) | |
tree | 759ac5d2dfae9df92bca4e09ea678e0d11b40765 /sound/soc/soc-pcm.c | |
parent | eef69ac7c9672049069a0bb88dae756fdec4de07 (diff) |
ASoC: AC97 doesn't use regmap by default
Since commit 38cbf9598feba97de9f9b43efa9153fd7c1a2ec9
("ASoC: core: Try to use regmap if the driver doesn't set up any I/O")
any ASoC codec which doesn't set codec::control_data is assumed
to use regmap. That doesn't work with AC97 so this workaround
sets the codec::control_data member to a random value to restore
proper behaviour.
Tested with WM9712.
Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/soc-pcm.c')
0 files changed, 0 insertions, 0 deletions