diff options
author | Sebastian Reichel <sre@kernel.org> | 2013-10-20 17:42:37 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2014-04-23 17:35:47 +0200 |
commit | a4b4d474866b4c0ea17834c07c9b353728c3ba65 (patch) | |
tree | 1e3a1c4edc6539d1e9d5fb0a1ea019ee10c0ddff /sound/soc/omap/omap-mcbsp.h | |
parent | fe62276348a2ccd23a927a9ce3d68592655ade38 (diff) | |
download | linux-a4b4d474866b4c0ea17834c07c9b353728c3ba65.tar.bz2 |
ASoC: RX-51: Add DT support to sound driver
This patch adds device tree support to the Nokia N900 audio driver.
It also removes GPIO defines and gets them from platform data /
device tree, since some GPIO numbers may be different with DT boot.
The binding also changes a helper function in omap-mcbsp, which
is currently only used by the Nokia N900. This change is needed,
because DT instanced omap-mcbsp driver has no valid id assigned.
Last but not least the DT binding is documented.
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'sound/soc/omap/omap-mcbsp.h')
-rw-r--r-- | sound/soc/omap/omap-mcbsp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/omap/omap-mcbsp.h b/sound/soc/omap/omap-mcbsp.h index ba8386a0d8dc..2e3369c27be3 100644 --- a/sound/soc/omap/omap-mcbsp.h +++ b/sound/soc/omap/omap-mcbsp.h @@ -39,6 +39,6 @@ enum omap_mcbsp_div { OMAP_MCBSP_CLKGDV, /* Sample rate generator divider */ }; -int omap_mcbsp_st_add_controls(struct snd_soc_pcm_runtime *rtd); +int omap_mcbsp_st_add_controls(struct snd_soc_pcm_runtime *rtd, int port_id); #endif |