.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * max98371.c -- ALSA SoC Stereo MAX98371 driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright 2015-16 Maxim Integrated Products |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify |
---|
7 | | - * it under the terms of the GNU General Public License version 2 as |
---|
8 | | - * published by the Free Software Foundation. |
---|
9 | 6 | */ |
---|
10 | 7 | |
---|
11 | 8 | #include <linux/i2c.h> |
---|
.. | .. |
---|
155 | 152 | static const DECLARE_TLV_DB_RANGE(max98371_gain_tlv, |
---|
156 | 153 | 0, 7, TLV_DB_SCALE_ITEM(0, 50, 0), |
---|
157 | 154 | 8, 10, TLV_DB_SCALE_ITEM(400, 100, 0) |
---|
158 | | -); |
---|
159 | | - |
---|
160 | | -static const DECLARE_TLV_DB_RANGE(max98371_noload_gain_tlv, |
---|
161 | | - 0, 11, TLV_DB_SCALE_ITEM(950, 100, 0), |
---|
162 | 155 | ); |
---|
163 | 156 | |
---|
164 | 157 | static const DECLARE_TLV_DB_SCALE(digital_tlv, -6300, 50, 1); |
---|