summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_transport.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/tegra/tegra_transport.h')
-rw-r--r--sound/soc/tegra/tegra_transport.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra_transport.h b/sound/soc/tegra/tegra_transport.h
index 7863efbee64d..16a2f2977e6c 100644
--- a/sound/soc/tegra/tegra_transport.h
+++ b/sound/soc/tegra/tegra_transport.h
@@ -420,7 +420,6 @@ struct tegra_audio_data {
NvAudioFxObjectHandle i2s1_rec_split;
NvAudioFxObjectHandle i2s2_rec_split;
NvAudioFxObjectHandle mroute;
- NvAudioFxIoDevice mi2s1_device_available;
NvAudioFxIoDevice mspdif_device_available;
int spdif_plugin;
int i2s1volume;
@@ -428,6 +427,12 @@ struct tegra_audio_data {
struct mutex lock;
};
+struct tegra_audio_state_t {
+ NvAudioFxIoDevice devices_available;
+ NvAudioFxMode audio_mode;
+ struct mutex mutex_lock;
+};
+
int tegra_audiofx_init(struct tegra_audio_data* tegra_snd_cx);
NvError tegra_audiofx_createfx(struct tegra_audio_data *audio_context);
void tegra_audiofx_destroyfx(struct tegra_audio_data *audio_context);