0221e670cd25bb41062031eaa653f6447707abc6 |
|
19-Nov-2013 |
Xie XiuQi <xiexiuqi@huawei.com> |
Input: cyttsp4 - remove unnecessary work pending test Remove unnecessary work pending test before calling schedule_work(). It has been tested in queue_work_on() already. Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com> Reviewed-by: Tejun Heo <tj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|
8474caddccedcbf6da59f3ed3bc5c4d9442f8e5d |
|
18-Sep-2013 |
Sachin Kamat <sachin.kamat@linaro.org> |
Input: cyttsp4_core - remove redundant dev_set_drvdata Driver core sets the data to NULL upon release or probe failure. Hence explicit setting is not necessary. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|
ca0abe3d89fd95b80654e3429d84e4aad567a395 |
|
29-Aug-2013 |
Geert Uytterhoeven <geert@linux-m68k.org> |
Input: cyttsp4 - kill 'defined but not used' compiler warnings If both CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME are unset: drivers/input/touchscreen/cyttsp4_core.c:1556: warning: ‘cyttsp4_core_sleep’ defined but not used drivers/input/touchscreen/cyttsp4_core.c:1634: warning: ‘cyttsp4_core_wake’ defined but not used Move cyttsp4_core_sleep(), cyttsp4_core_wake(), and cyttsp4_core_wake_() (which is called from cyttsp4_core_wake() only) inside the existing section protected by #if defined(CONFIG_PM_SLEEP) || defined(CONFIG_PM_RUNTIME) Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|
e87ca42464b9ec2946ed5a4a921f292834bb494f |
|
26-Aug-2013 |
Wei Yongjun <yongjun_wei@trendmicro.com.cn> |
Input: cyttsp4 - remove useless NULL test from cyttsp4_watchdog_timer() Remove useless NULL test from cyttsp4_watchdog_timer(). Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Ferruh Yigit <fery@cypress.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|
57961e3ba72f4a8a1aa52e978020ecc2ca03a79f |
|
04-Jul-2013 |
Ferruh Yigit <fery@cypress.com> |
Input: cyttsp4 - kfree xfer_buf on error path in probe() If probe() fails after cd->xfer_buf allocated, it will not freed. Added kfree(cd->xfer_buf) with and error label. Signed-off-by: Ferruh Yigit <fery@cypress.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|
394fc05b7967a043e26b4343011a319390801c8b |
|
03-Jul-2013 |
Dan Carpenter <dan.carpenter@oracle.com> |
Input: cyttsp4 - leak on error path in probe() We leak "cd" if the cd->xfer_buf allocation fails. It was weird to "goto error_gpio_irq" so I changed the label name. (Label names should reflect the label location not the goto location otherwise you get an "all roads lead to Rome problem"). Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|
7c4c018aadadf1db2c27d6b9f0280700a2619861 |
|
03-Jul-2013 |
Dan Carpenter <dan.carpenter@oracle.com> |
Input: cyttsp4 - silence NULL dereference warning If "cd" were NULL then we would dereference it when we print the error message. Fortunately enough, it can't ever be NULL so we can remove those lines. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|
0fb82ec0268b5e46b0fefc677c9fa62707c61c67 |
|
03-Jul-2013 |
Dan Carpenter <dan.carpenter@oracle.com> |
Input: cyttsp4 - silence shift wrap warning "*max" is a size_t (long) type but "1" is an int so static checkers complain that the shift could wrap. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|
17fb1563d69b63fe7a79570fe870cf7e530cd2cd |
|
01-Jul-2013 |
Ferruh Yigit <fery@cypress.com> |
Input: cyttsp4 - add core driver for Cypress TMA4XX touchscreen devices Cypress TrueTouch(tm) Standard Product controllers, Generetion4 devices, Core driver. Core driver is interface between host and TTSP controller and processes data sent by controller. Responsibilities of module are IRQ handling, reading system information registers and sending multi-touch protocol type B events. Signed-off-by: Ferruh Yigit <fery@cypress.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|