hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/media/rc/fintek-cir.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Driver for Feature Integration Technology Inc. (aka Fintek) LPC CIR
34 *
....@@ -6,16 +7,6 @@
67 * Special thanks to Fintek for providing hardware and spec sheets.
78 * This driver is based upon the nuvoton, ite and ene drivers for
89 * similar hardware.
9
- *
10
- * This program is free software; you can redistribute it and/or
11
- * modify it under the terms of the GNU General Public License as
12
- * published by the Free Software Foundation; either version 2 of the
13
- * License, or (at your option) any later version.
14
- *
15
- * This program is distributed in the hope that it will be useful, but
16
- * WITHOUT ANY WARRANTY; without even the implied warranty of
17
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
- * General Public License for more details.
1910 */
2011
2112 #include <linux/spinlock.h>
....@@ -176,7 +167,7 @@
176167 #define CIR_CR_IRCS 0x05 /* Before host writes command to IR, host
177168 must set to 1. When host finshes write
178169 command to IR, host must clear to 0. */
179
-#define CIR_CR_COMMAND_DATA 0x06 /* Host read or write comand data */
170
+#define CIR_CR_COMMAND_DATA 0x06 /* Host read or write command data */
180171 #define CIR_CR_CLASS 0x07 /* 0xff = rx-only, 0x66 = rx + 2 tx,
181172 0x33 = rx + 1 tx */
182173 #define CIR_CR_DEV_EN 0x30 /* bit0 = 1 enables CIR */