Stephen Warren | a50a399 | 2011-01-07 22:36:15 -0700 | [diff] [blame^] | 1 | /* |
| 2 | * tegra_asoc_utils.h - Definitions for Tegra DAS driver |
| 3 | * |
| 4 | * Author: Stephen Warren <swarren@nvidia.com> |
| 5 | * Copyright (C) 2010 - NVIDIA, Inc. |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU General Public License |
| 9 | * version 2 as published by the Free Software Foundation. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, but |
| 12 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 | * General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License |
| 17 | * along with this program; if not, write to the Free Software |
| 18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA |
| 19 | * 02110-1301 USA |
| 20 | * |
| 21 | */ |
| 22 | |
| 23 | #ifndef __TEGRA_ASOC_UTILS_H__ |
| 24 | #define __TEGRA_ASOC_UTILS_H_ |
| 25 | |
| 26 | int tegra_asoc_utils_set_rate(int srate, int mclk_rate, int *mclk_change); |
| 27 | int tegra_asoc_utils_init(void); |
| 28 | void tegra_asoc_utils_fini(void); |
| 29 | |
| 30 | #endif |
| 31 | |