kernel: add ioctl constants for spdif tests
Rahul Mittal [Thu, 21 Jun 2012 11:44:47 +0000 (16:44 +0530)]
Added ioctl constants for audio test manager spdif kernel module

Change-Id: Ife740e21da1a82c71cd93b91e60491b33ceda0cc
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/108833
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

include/linux/tegra_audio.h

index ddc9c93..23ca051 100644 (file)
@@ -75,6 +75,9 @@ struct dam_srate {
 #define I2S_LOOPBACK   _IOW(TEGRA_AUDIO_MAGIC, 17, unsigned int *)
 #define I2S_MODE_I2S   _IOW(TEGRA_AUDIO_MAGIC, 18, unsigned int *)
 
+#define SPDIF_START    _IO(TEGRA_AUDIO_MAGIC, 27)
+#define SPDIF_STOP     _IO(TEGRA_AUDIO_MAGIC, 28)
+
 #ifdef CONFIG_SND_SOC_TEGRA
 extern bool tegra_is_voice_call_active(void);
 #else