diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-08-18 19:29:37 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-08-18 19:53:22 +0400 |
commit | abfa4eae0bd2723859931631771ac275f97cada4 (patch) | |
tree | e6bb08ccc9e15b18bead4dae83fe139eb409be1a /sound/soc/atmel/atmel_ssc_dai.h | |
parent | dad965f07be946726c6153cf578d089ea991f41e (diff) | |
download | linux-abfa4eae0bd2723859931631771ac275f97cada4.tar.xz |
ASoC: Add simplfied device registration for Atmel SSC devices
Since the SSC is already being registered as a device under arch and
the DMA and SSC hardware are pretty much the same provide a simplified
device registration function for the Atmel SSC which will add the
ASoC-specific devices within the ASoC code, parenting the SSC device
off the actual SSC device. Also use it in the sam9g20-ek driver.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/atmel/atmel_ssc_dai.h')
-rw-r--r-- | sound/soc/atmel/atmel_ssc_dai.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/atmel/atmel_ssc_dai.h b/sound/soc/atmel/atmel_ssc_dai.h index 392a46953112..5d4f0f9b4d9a 100644 --- a/sound/soc/atmel/atmel_ssc_dai.h +++ b/sound/soc/atmel/atmel_ssc_dai.h @@ -117,4 +117,6 @@ struct atmel_ssc_info { struct atmel_ssc_state ssc_state; }; +int atmel_ssc_set_audio(int ssc); + #endif /* _AT91_SSC_DAI_H */ |