mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 23:45:31 +08:00
826e962c46
This reverts commit 6f3991152f
.
Since core has now support for limiting the volume on controls this
patch is not needed. Furthermore, this patch actually prevents the core
to set new volume on the TPA.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
37 lines
971 B
C
37 lines
971 B
C
/*
|
|
* TPA6130A2 driver platform header
|
|
*
|
|
* Copyright (C) Nokia Corporation
|
|
*
|
|
* Written by Peter Ujfalusi <peter.ujfalusi@nokia.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* version 2 as published by the Free Software Foundation.
|
|
*
|
|
* 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 St, Fifth Floor, Boston, MA
|
|
* 02110-1301 USA
|
|
*/
|
|
|
|
#ifndef TPA6130A2_PLAT_H
|
|
#define TPA6130A2_PLAT_H
|
|
|
|
enum tpa_model {
|
|
TPA6130A2,
|
|
TPA6140A2,
|
|
};
|
|
|
|
struct tpa6130a2_platform_data {
|
|
enum tpa_model id;
|
|
int power_gpio;
|
|
};
|
|
|
|
#endif
|