Skip to content

Commit 851710a

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull input fixes from Dmitry Torokhov: - we are reverting patch that was switched touchpad on Lenovo T460P over to native RMI because on these boxes BIOS messes up with SMBus controller state. We might re-enable it later once SMBus issue is resolved - disabling interrupts in matrix_keypad driver was racy - mms114 now has SPDX header and matching MODULE_LICENSE * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Revert "Input: synaptics - Lenovo Thinkpad T460p devices should use RMI" Input: matrix_keypad - fix race when disabling interrupts Input: mms114 - add SPDX identifier Input: mms114 - fix license module information
2 parents ea9b5ee + 5444a99 commit 851710a

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

drivers/input/keyboard/matrix_keypad.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,10 @@ static void matrix_keypad_stop(struct input_dev *dev)
218218
{
219219
struct matrix_keypad *keypad = input_get_drvdata(dev);
220220

221+
spin_lock_irq(&keypad->lock);
221222
keypad->stopped = true;
222-
mb();
223+
spin_unlock_irq(&keypad->lock);
224+
223225
flush_work(&keypad->work.work);
224226
/*
225227
* matrix_keypad_scan() will leave IRQs enabled;

drivers/input/mouse/synaptics.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ static const char * const smbus_pnp_ids[] = {
173173
"LEN0046", /* X250 */
174174
"LEN004a", /* W541 */
175175
"LEN200f", /* T450s */
176-
"LEN2018", /* T460p */
177176
NULL
178177
};
179178

drivers/input/touchscreen/mms114.c

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
/*
2-
* Copyright (C) 2012 Samsung Electronics Co.Ltd
3-
* Author: Joonyoung Shim <[email protected]>
4-
*
5-
* This program is free software; you can redistribute it and/or modify
6-
* it under the terms of the GNU General Public License version 2 as
7-
* published by the Free Software Foundation.
8-
*/
1+
// SPDX-License-Identifier: GPL-2.0
2+
// Melfas MMS114/MMS152 touchscreen device driver
3+
//
4+
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
5+
// Author: Joonyoung Shim <[email protected]>
96

107
#include <linux/module.h>
118
#include <linux/delay.h>
@@ -624,4 +621,4 @@ module_i2c_driver(mms114_driver);
624621
/* Module information */
625622
MODULE_AUTHOR("Joonyoung Shim <[email protected]>");
626623
MODULE_DESCRIPTION("MELFAS mms114 Touchscreen driver");
627-
MODULE_LICENSE("GPL");
624+
MODULE_LICENSE("GPL v2");

0 commit comments

Comments
 (0)