ALSA: dice: fix kernel NULL pointer dereference due to invalid calculation for array...
[linux/fpc-iii.git] / drivers / media / i2c / tea6420.h
blob07f9d72a86bb832262aedfaadb833cb9ec264229
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __INCLUDED_TEA6420__
3 #define __INCLUDED_TEA6420__
5 /* input pins */
6 #define TEA6420_OUTPUT1 1
7 #define TEA6420_OUTPUT2 2
8 #define TEA6420_OUTPUT3 3
9 #define TEA6420_OUTPUT4 4
11 /* output pins */
12 #define TEA6420_INPUT1 1
13 #define TEA6420_INPUT2 2
14 #define TEA6420_INPUT3 3
15 #define TEA6420_INPUT4 4
16 #define TEA6420_INPUT5 5
17 #define TEA6420_INPUT6 6
19 /* gain on the output pins, ORed with the output pin */
20 #define TEA6420_GAIN0 0x00
21 #define TEA6420_GAIN2 0x20
22 #define TEA6420_GAIN4 0x40
23 #define TEA6420_GAIN6 0x60
25 #endif