| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * ToupTek UCMOS / AmScope MU series camera driver |
|---|
| 3 | 4 | * TODO: contrast with ScopeTek / AmScope MDC cameras |
|---|
| .. | .. |
|---|
| 7 | 8 | * Special thanks to Bushing for helping with the decrypt algorithm and |
|---|
| 8 | 9 | * Sean O'Sullivan / the Rensselaer Center for Open Source |
|---|
| 9 | 10 | * Software (RCOS) for helping me learn kernel development |
|---|
| 10 | | - * |
|---|
| 11 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 12 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 13 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 14 | | - * any later version. |
|---|
| 15 | | - * |
|---|
| 16 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 17 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 18 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 19 | | - * GNU General Public License for more details. |
|---|
| 20 | 11 | */ |
|---|
| 21 | 12 | |
|---|
| 22 | 13 | #include "gspca.h" |
|---|
| .. | .. |
|---|
| 185 | 176 | }; |
|---|
| 186 | 177 | |
|---|
| 187 | 178 | /* |
|---|
| 188 | | - * As theres no known frame sync, the only way to keep synced is to try hard |
|---|
| 179 | + * As there's no known frame sync, the only way to keep synced is to try hard |
|---|
| 189 | 180 | * to never miss any packets |
|---|
| 190 | 181 | */ |
|---|
| 191 | 182 | #if MAX_NURBS < 4 |
|---|
| .. | .. |
|---|
| 259 | 250 | return; |
|---|
| 260 | 251 | } |
|---|
| 261 | 252 | gspca_dbg(gspca_dev, D_STREAM, "exposure: 0x%04X ms\n\n", value); |
|---|
| 262 | | - /* Wonder if theres a good reason for sending it twice */ |
|---|
| 253 | + /* Wonder if there's a good reason for sending it twice */ |
|---|
| 263 | 254 | /* probably not but leave it in because...why not */ |
|---|
| 264 | 255 | reg_w(gspca_dev, value, REG_COARSE_INTEGRATION_TIME_); |
|---|
| 265 | 256 | reg_w(gspca_dev, value, REG_COARSE_INTEGRATION_TIME_); |
|---|