Skip to content

Commit da9eede

Browse files
committed
Merge tag 'input-for-v6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull input fixes from Dmitry Torokhov: - small fixes for iqs62x-keys and melfas_mip4 drivers - corrected register address in snvs_pwrkey driver - Synaptic driver will stop trying to use intertouch (native) mode on some Lenovo AMD devices * tag 'input-for-v6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: snvs_pwrkey - fix SNVS_HPVIDR1 register address Input: synaptics - disable Intertouch for Lenovo T14 and P14s AMD G1 Input: iqs62x-keys - drop unused device node references Input: melfas_mip4 - fix return value check in mip4_probe()
2 parents 71f1875 + e62563d commit da9eede

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

drivers/input/keyboard/iqs62x-keys.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ static int iqs62x_keys_parse_prop(struct platform_device *pdev,
7777
if (ret) {
7878
dev_err(&pdev->dev, "Failed to read switch code: %d\n",
7979
ret);
80+
fwnode_handle_put(child);
8081
return ret;
8182
}
8283
iqs62x_keys->switches[i].code = val;
@@ -90,6 +91,8 @@ static int iqs62x_keys_parse_prop(struct platform_device *pdev,
9091
iqs62x_keys->switches[i].flag = (i == IQS62X_SW_HALL_N ?
9192
IQS62X_EVENT_HALL_N_T :
9293
IQS62X_EVENT_HALL_S_T);
94+
95+
fwnode_handle_put(child);
9396
}
9497

9598
return 0;

drivers/input/keyboard/snvs_pwrkey.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include <linux/mfd/syscon.h>
2121
#include <linux/regmap.h>
2222

23-
#define SNVS_HPVIDR1_REG 0xF8
23+
#define SNVS_HPVIDR1_REG 0xBF8
2424
#define SNVS_LPSR_REG 0x4C /* LP Status Register */
2525
#define SNVS_LPCR_REG 0x38 /* LP Control Register */
2626
#define SNVS_HPSR_REG 0x14

drivers/input/mouse/synaptics.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ static const char * const smbus_pnp_ids[] = {
186186
"LEN2044", /* L470 */
187187
"LEN2054", /* E480 */
188188
"LEN2055", /* E580 */
189-
"LEN2064", /* T14 Gen 1 AMD / P14s Gen 1 AMD */
190189
"LEN2068", /* T14 Gen 1 */
191190
"SYN3052", /* HP EliteBook 840 G4 */
192191
"SYN3221", /* HP 15-ay000 */

drivers/input/touchscreen/melfas_mip4.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,7 @@ static int mip4_probe(struct i2c_client *client, const struct i2c_device_id *id)
14531453
"ce", GPIOD_OUT_LOW);
14541454
if (IS_ERR(ts->gpio_ce)) {
14551455
error = PTR_ERR(ts->gpio_ce);
1456-
if (error != EPROBE_DEFER)
1456+
if (error != -EPROBE_DEFER)
14571457
dev_err(&client->dev,
14581458
"Failed to get gpio: %d\n", error);
14591459
return error;

0 commit comments

Comments
 (0)