forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/sound/soc/codecs/tpa6130a2.c
....@@ -1,23 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * ALSA SoC Texas Instruments TPA6130A2 headset stereo amplifier driver
34 *
45 * Copyright (C) Nokia Corporation
56 *
67 * Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
7
- *
8
- * This program is free software; you can redistribute it and/or
9
- * modify it under the terms of the GNU General Public License
10
- * version 2 as published by the Free Software Foundation.
11
- *
12
- * This program is distributed in the hope that it will be useful, but
13
- * WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
- * General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU General Public License
18
- * along with this program; if not, write to the Free Software
19
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20
- * 02110-1301 USA
218 */
229
2310 #include <linux/module.h>
....@@ -274,7 +261,7 @@
274261 default:
275262 dev_warn(dev, "Unknown TPA model (%d). Assuming 6130A2\n",
276263 data->id);
277
- /* fall through */
264
+ fallthrough;
278265 case TPA6130A2:
279266 regulator = "Vdd";
280267 break;