.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * DRV260X haptics driver family |
---|
3 | 4 | * |
---|
4 | 5 | * Author: Dan Murphy <dmurphy@ti.com> |
---|
5 | 6 | * |
---|
6 | 7 | * Copyright: (C) 2014 Texas Instruments, Inc. |
---|
7 | | - * |
---|
8 | | - * This program is free software; you can redistribute it and/or modify |
---|
9 | | - * it under the terms of the GNU General Public License version 2 as |
---|
10 | | - * published by the Free Software Foundation. |
---|
11 | | - * |
---|
12 | | - * This program is distributed in the hope that it will be useful, but |
---|
13 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
14 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
15 | | - * General Public License for more details. |
---|
16 | 8 | */ |
---|
17 | 9 | |
---|
18 | 10 | #include <linux/i2c.h> |
---|
.. | .. |
---|
443 | 435 | } |
---|
444 | 436 | |
---|
445 | 437 | do { |
---|
| 438 | + usleep_range(15000, 15500); |
---|
446 | 439 | error = regmap_read(haptics->regmap, DRV260X_GO, &cal_buf); |
---|
447 | 440 | if (error) { |
---|
448 | 441 | dev_err(&haptics->client->dev, |
---|