hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/media/rc/ene_ir.h
....@@ -1,17 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * driver for ENE KB3926 B/C/D/E/F CIR (also known as ENE0XXX)
34 *
45 * Copyright (C) 2010 Maxim Levitsky <maximlevitsky@gmail.com>
5
- *
6
- * This program is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU General Public License as
8
- * published by the Free Software Foundation; either version 2 of the
9
- * License, or (at your option) any later version.
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.
156 */
167 #include <linux/spinlock.h>
178
....@@ -118,7 +109,7 @@
118109 #define ENE_CIRDAT_IN 0xFEC7
119110
120111
121
-/* RLC configuration - sample period (1us resulution) + idle mode */
112
+/* RLC configuration - sample period (1us resolution) + idle mode */
122113 #define ENE_CIRRLC_CFG 0xFEC8
123114 #define ENE_CIRRLC_CFG_OVERFLOW 0x80 /* interrupt on overflows if set */
124115 #define ENE_DEFAULT_SAMPLE_PERIOD 50