.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Linux-DVB Driver for DiBcom's DiB7000M and |
---|
3 | 4 | * first generation DiB7000P-demodulator-family. |
---|
4 | 5 | * |
---|
5 | 6 | * Copyright (C) 2005-7 DiBcom (http://www.dibcom.fr/) |
---|
6 | | - * |
---|
7 | | - * This program is free software; you can redistribute it and/or |
---|
8 | | - * modify it under the terms of the GNU General Public License as |
---|
9 | | - * published by the Free Software Foundation, version 2. |
---|
10 | 7 | */ |
---|
11 | 8 | |
---|
12 | 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
---|
.. | .. |
---|
369 | 366 | { |
---|
370 | 367 | |
---|
371 | 368 | /* internal */ |
---|
372 | | -// dib7000m_write_word(state, 928, (3 << 14) | (1 << 12) | (524 << 0)); // sampling clock of the SAD is writting in set_bandwidth |
---|
| 369 | +// dib7000m_write_word(state, 928, (3 << 14) | (1 << 12) | (524 << 0)); // sampling clock of the SAD is writing in set_bandwidth |
---|
373 | 370 | dib7000m_write_word(state, 929, (0 << 1) | (0 << 0)); |
---|
374 | 371 | dib7000m_write_word(state, 930, 776); // 0.625*3.3 / 4096 |
---|
375 | 372 | |
---|
.. | .. |
---|
811 | 808 | |
---|
812 | 809 | dib7000m_restart_agc(state); |
---|
813 | 810 | |
---|
814 | | - dprintk("SPLIT %p: %hd\n", demod, agc_split); |
---|
| 811 | + dprintk("SPLIT %p: %u\n", demod, agc_split); |
---|
815 | 812 | |
---|
816 | 813 | (*agc_state)++; |
---|
817 | 814 | ret = 5; |
---|
.. | .. |
---|
928 | 925 | } |
---|
929 | 926 | state->div_sync_wait = (value * 3) / 2 + 32; // add 50% SFN margin + compensate for one DVSY-fifo TODO |
---|
930 | 927 | |
---|
931 | | - /* deactive the possibility of diversity reception if extended interleave - not for 7000MC */ |
---|
| 928 | + /* deactivate the possibility of diversity reception if extended interleave - not for 7000MC */ |
---|
932 | 929 | /* P_dvsy_sync_mode = 0, P_dvsy_sync_enable=1, P_dvcb_comb_mode=2 */ |
---|
933 | 930 | if (1 == 1 || state->revision > 0x4000) |
---|
934 | 931 | state->div_force_off = 0; |
---|
.. | .. |
---|
1437 | 1434 | kfree(st); |
---|
1438 | 1435 | return NULL; |
---|
1439 | 1436 | } |
---|
1440 | | -EXPORT_SYMBOL(dib7000m_attach); |
---|
| 1437 | +EXPORT_SYMBOL_GPL(dib7000m_attach); |
---|
1441 | 1438 | |
---|
1442 | 1439 | static const struct dvb_frontend_ops dib7000m_ops = { |
---|
1443 | 1440 | .delsys = { SYS_DVBT }, |
---|