hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/input/misc/drv260x.c
....@@ -1,18 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * DRV260X haptics driver family
34 *
45 * Author: Dan Murphy <dmurphy@ti.com>
56 *
67 * 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.
168 */
179
1810 #include <linux/i2c.h>
....@@ -443,6 +435,7 @@
443435 }
444436
445437 do {
438
+ usleep_range(15000, 15500);
446439 error = regmap_read(haptics->regmap, DRV260X_GO, &cal_buf);
447440 if (error) {
448441 dev_err(&haptics->client->dev,