| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * drivers/media/i2c/smiapp/smiapp-quirk.c |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Copyright (C) 2011--2012 Nokia Corporation |
|---|
| 7 | 8 | * Contact: Sakari Ailus <sakari.ailus@iki.fi> |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is free software; you can redistribute it and/or |
|---|
| 10 | | - * modify it under the terms of the GNU General Public License |
|---|
| 11 | | - * version 2 as published by the Free Software Foundation. |
|---|
| 12 | | - * |
|---|
| 13 | | - * This program is distributed in the hope that it will be useful, but |
|---|
| 14 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 15 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 16 | | - * General Public License for more details. |
|---|
| 17 | 9 | */ |
|---|
| 18 | 10 | |
|---|
| 19 | 11 | #include <linux/delay.h> |
|---|
| .. | .. |
|---|
| 202 | 194 | return rval; |
|---|
| 203 | 195 | |
|---|
| 204 | 196 | /* Wait for 1 ms + one line => 2 ms is likely enough */ |
|---|
| 205 | | - usleep_range(2000, 2000); |
|---|
| 197 | + usleep_range(2000, 2050); |
|---|
| 206 | 198 | |
|---|
| 207 | 199 | /* Restore it */ |
|---|
| 208 | 200 | rval = smiapp_write_8(sensor, 0x3205, 0x00); |
|---|