treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / media / tuners / qm1d1c0042.h
blobb22fa98bf56ecae5a07fcbe6a5d62afc16cd7ea9
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Sharp QM1D1C0042 8PSK tuner driver
5 * Copyright (C) 2014 Akihiro Tsukada <tskd08@gmail.com>
6 */
8 #ifndef QM1D1C0042_H
9 #define QM1D1C0042_H
11 #include <media/dvb_frontend.h>
14 struct qm1d1c0042_config {
15 struct dvb_frontend *fe;
17 u32 xtal_freq; /* [kHz] */ /* currently ignored */
18 bool lpf; /* enable LPF */
19 bool fast_srch; /* enable fast search mode, no LPF */
20 u32 lpf_wait; /* wait in tuning with LPF enabled. [ms] */
21 u32 fast_srch_wait; /* with fast-search mode, no LPF. [ms] */
22 u32 normal_srch_wait; /* with no LPF/fast-search mode. [ms] */
24 /* special values indicating to use the default in qm1d1c0042_config */
25 #define QM1D1C0042_CFG_XTAL_DFLT 0
26 #define QM1D1C0042_CFG_WAIT_DFLT 0
28 #endif /* QM1D1C0042_H */