| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | Fujitsu MB86A16 DVB-S/DSS DC Receiver driver |
|---|
| 3 | 4 | |
|---|
| 4 | 5 | Copyright (C) Manu Abraham (abraham.manu@gmail.com) |
|---|
| 5 | 6 | |
|---|
| 6 | | - This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - it under the terms of the GNU General Public License as published by |
|---|
| 8 | | - the Free Software Foundation; either version 2 of the License, or |
|---|
| 9 | | - (at your option) any later version. |
|---|
| 10 | | - |
|---|
| 11 | | - This program is distributed in the hope that it will be useful, |
|---|
| 12 | | - but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 13 | | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 14 | | - GNU General Public License for more details. |
|---|
| 15 | | - |
|---|
| 16 | | - You should have received a copy of the GNU General Public License |
|---|
| 17 | | - along with this program; if not, write to the Free Software |
|---|
| 18 | | - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
|---|
| 19 | 7 | */ |
|---|
| 20 | 8 | |
|---|
| 21 | 9 | #include <linux/init.h> |
|---|
| .. | .. |
|---|
| 1464 | 1452 | wait_t = (786432 + state->srate / 2) / state->srate; |
|---|
| 1465 | 1453 | else |
|---|
| 1466 | 1454 | wait_t = (1572864 + state->srate / 2) / state->srate; |
|---|
| 1467 | | - if (state->srate < 5000) |
|---|
| 1468 | | - /* FIXME ! , should be a long wait ! */ |
|---|
| 1469 | | - msleep_interruptible(wait_t); |
|---|
| 1470 | | - else |
|---|
| 1471 | | - msleep_interruptible(wait_t); |
|---|
| 1455 | + |
|---|
| 1456 | + msleep_interruptible(wait_t); |
|---|
| 1472 | 1457 | |
|---|
| 1473 | 1458 | if (sync_chk(state, &junk) == 0) { |
|---|
| 1474 | 1459 | iq_vt_set(state, 1); |
|---|
| .. | .. |
|---|
| 1863 | 1848 | kfree(state); |
|---|
| 1864 | 1849 | return NULL; |
|---|
| 1865 | 1850 | } |
|---|
| 1866 | | -EXPORT_SYMBOL(mb86a16_attach); |
|---|
| 1851 | +EXPORT_SYMBOL_GPL(mb86a16_attach); |
|---|
| 1867 | 1852 | MODULE_LICENSE("GPL"); |
|---|
| 1868 | 1853 | MODULE_AUTHOR("Manu Abraham"); |
|---|