diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-11-09 01:41:14 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-12-02 12:13:19 +0100 |
commit | 6c7ef410c986db7e57b83231427e4606a225606b (patch) | |
tree | a12d12600805fce20a512d1d8ae195eec7ee384e /sound/soc/codecs/max98088.h | |
parent | ASoC: fsl: imx-pcm-fiq: Remove unused 'runtime' variable (diff) | |
download | linux-6c7ef410c986db7e57b83231427e4606a225606b.tar.xz linux-6c7ef410c986db7e57b83231427e4606a225606b.zip |
ASoC: fsl: set correct platform drvdata in pcm030_fabric_probe()
platform_set_drvdata(op, pdata) in pcm030_fabric_probe()
will be overwrited when calling snd_soc_register_card(card),
but cm030_fabric_remove() use drvdata as a type of struct
pcm030_audio_data, so we should move platform_set_drvdata()
below snd_soc_register_card() call.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/max98088.h')
0 files changed, 0 insertions, 0 deletions