diff options
author | Iliyan Malchev <malchev@google.com> | 2010-10-06 19:05:13 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:35:58 -0800 |
commit | 3fc246763fd175cc2f3cc4043e7a7cd9d32f863c (patch) | |
tree | 68f0a76bb9488f56732e9c2d38ef66702747c6d6 /include | |
parent | 75b8033b415aabf8984c6d32a2c53f36f2374860 (diff) |
Revert "[ARM] tegra: driver for spdif audio"
This reverts commit 3543d53703c5a1ed0b987c77e7a79226c3a24f45.
Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/tegra_spdif.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/include/linux/tegra_spdif.h b/include/linux/tegra_spdif.h deleted file mode 100644 index 8d7f6457a0d1..000000000000 --- a/include/linux/tegra_spdif.h +++ /dev/null @@ -1,56 +0,0 @@ -/* include/linux/tegra_spdif.h - * - * SPDIF audio driver for NVIDIA Tegra SoCs - * - * Copyright (c) 2008-2009, NVIDIA Corporation. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -#ifndef _TEGRA_SPDIF_H -#define _TEGRA_SPDIF_H - -#include <linux/ioctl.h> - -#define TEGRA_SPDIF_MAGIC 's' - - - -struct tegra_audio_buf_config { - unsigned size; /* order */ - unsigned threshold; /* order */ - unsigned chunk; /* order */ -}; - - - -#define TEGRA_AUDIO_OUT_SET_BUF_CONFIG _IOW(TEGRA_SPDIF_MAGIC, 0, \ - const struct tegra_audio_buf_config *) -#define TEGRA_AUDIO_OUT_GET_BUF_CONFIG _IOR(TEGRA_SPDIF_MAGIC, 1, \ - struct tegra_audio_buf_config *) - -#define TEGRA_AUDIO_OUT_GET_ERROR_COUNT _IOR(TEGRA_SPDIF_MAGIC, 2, \ - unsigned *) - -struct tegra_audio_out_preload { - void *data; - size_t len; - size_t len_written; -}; - -#define TEGRA_AUDIO_OUT_PRELOAD_FIFO _IOWR(TEGRA_SPDIF_MAGIC, 3, \ - struct tegra_audio_out_preload *) - -#endif/*_TEGRA_SPDIF_H*/ |