diff options
author | Bo Shen <voice.shen@atmel.com> | 2012-11-14 18:09:09 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-11-16 10:24:38 +0900 |
commit | be681a8275a4322e7b2301250b52247cce06c3be (patch) | |
tree | 4cbcc825e33e4d1f8ac6699dea2737f9f46f7725 /sound/soc/atmel/atmel_ssc_dai.h | |
parent | 099343c64e1615ae83b0994197027be363ca4899 (diff) |
ASoC: atmel-ssc-dai: register dai and pcm directly
change the method for register dai and pcm
- let the atmel-ssc-dai no longer as a standalone platform device
- remap ssc and then register dai directly
- register pcm from dai directly
- modify the code which related with this change
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/atmel/atmel_ssc_dai.h')
-rw-r--r-- | sound/soc/atmel/atmel_ssc_dai.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/atmel/atmel_ssc_dai.h b/sound/soc/atmel/atmel_ssc_dai.h index 5d4f0f9b4d9a..b1f08d511495 100644 --- a/sound/soc/atmel/atmel_ssc_dai.h +++ b/sound/soc/atmel/atmel_ssc_dai.h @@ -117,6 +117,7 @@ struct atmel_ssc_info { struct atmel_ssc_state ssc_state; }; -int atmel_ssc_set_audio(int ssc); +int atmel_ssc_set_audio(int ssc_id); +void atmel_ssc_put_audio(int ssc_id); #endif /* _AT91_SSC_DAI_H */ |