diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2011-08-30 13:39:54 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-21 17:07:45 +0200 |
commit | 0722d055ac2236da4e319d22a99c9f7e82dbdd5d (patch) | |
tree | 2adae127a5933c011ccfbd67585417fb73a905ec /sound/soc | |
parent | ASoC: tpa6130a2: Model support cleanup (diff) | |
download | linux-0722d055ac2236da4e319d22a99c9f7e82dbdd5d.tar.xz linux-0722d055ac2236da4e319d22a99c9f7e82dbdd5d.zip |
ASoC: tpa6130a2: Remove model_id from platform data
The model_id is no longer needed within the platform_data
for the TPA driver since the model of TPA specified
with the device name (tpa6130a2/tpa6140a2).
Also update rx51 (the only affected user) to use the device name rather
than platform data.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/tpa6130a2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/codecs/tpa6130a2.c b/sound/soc/codecs/tpa6130a2.c index a14689be700a..7eeca79d7387 100644 --- a/sound/soc/codecs/tpa6130a2.c +++ b/sound/soc/codecs/tpa6130a2.c @@ -33,6 +33,11 @@ #include "tpa6130a2.h" +enum tpa_model { + TPA6130A2, + TPA6140A2, +}; + static struct i2c_client *tpa6130a2_client; /* This struct is used to save the context */ |