treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / media / tuners / mt2131_priv.h
blobb2e4f43931e202dcfaba2c2d12f3982e0d32f44e
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Driver for Microtune MT2131 "QAM/8VSB single chip tuner"
5 * Copyright (c) 2006 Steven Toth <stoth@linuxtv.org>
6 */
8 #ifndef __MT2131_PRIV_H__
9 #define __MT2131_PRIV_H__
11 /* Regs */
12 #define MT2131_PWR 0x07
13 #define MT2131_UPC_1 0x0b
14 #define MT2131_AGC_RL 0x10
15 #define MT2131_MISC_2 0x15
17 /* frequency values in KHz */
18 #define MT2131_IF1 1220
19 #define MT2131_IF2 44000
20 #define MT2131_FREF 16000
22 struct mt2131_priv {
23 struct mt2131_config *cfg;
24 struct i2c_adapter *i2c;
26 u32 frequency;
29 #endif /* __MT2131_PRIV_H__ */