summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cq93vc.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-08-31 13:51:38 +0100
committerMark Brown <broonie@linaro.org>2013-09-17 00:38:36 +0100
commit8ecb5344fd6409c500c9d5757c3a7130d3d7db5b (patch)
treef93c56f4b7c652264956667630d656b02c57c0c3 /sound/soc/codecs/cq93vc.c
parent272b98c6455f00884f0350f775c5342358ebb73f (diff)
downloadop-kernel-dev-8ecb5344fd6409c500c9d5757c3a7130d3d7db5b.zip
op-kernel-dev-8ecb5344fd6409c500c9d5757c3a7130d3d7db5b.tar.gz
ASoC: cq93vc: Don't use control data for core driver data
The platform data is being used to obtain the core driver data for the device (which is a bit of an abuse but not the issue at hand) so reference it directly in order to support refactoring to use regmap. Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/cq93vc.c')
-rw-r--r--sound/soc/codecs/cq93vc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cq93vc.c b/sound/soc/codecs/cq93vc.c
index 23316c8..e2c4c0a8 100644
--- a/sound/soc/codecs/cq93vc.c
+++ b/sound/soc/codecs/cq93vc.c
@@ -79,7 +79,7 @@ static int cq93vc_set_dai_sysclk(struct snd_soc_dai *codec_dai,
int clk_id, unsigned int freq, int dir)
{
struct snd_soc_codec *codec = codec_dai->codec;
- struct davinci_vc *davinci_vc = codec->control_data;
+ struct davinci_vc *davinci_vc = codec->dev->platform_data;
switch (freq) {
case 22579200:
OpenPOWER on IntegriCloud