- 01 May, 2017 1 commit
-
-
Sebastian Reichel authored
The interrupt should be requested for the platform device and not for the input device. Fixes: 7f9ce649 ("Input: twl4030-pwrbutton - simplify driver using devm_*") Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by:
Dmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 22 Jan, 2017 1 commit
-
-
Guenter Roeck authored
There is no call to i2c_get_clientdata(), platform_get_drvdata(), or dev_get_drvdata() in any of the drivers in this patch. Signed-off-by:
Guenter Roeck <linux@roeck-us.net> Signed-off-by:
Dmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 15 May, 2015 1 commit
-
-
Fabio Estevam authored
Since commit 1c6c6952 ("genirq: Reject bogus threaded irq requests") threaded IRQs without a primary handler need to be requested with IRQF_ONESHOT, otherwise the request will fail. So pass the IRQF_ONESHOT flag in this case. The semantic patch that makes this change is available in scripts/coccinelle/misc/irqf_oneshot.cocci. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by:
Dmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 08 Nov, 2014 1 commit
-
-
NeilBrown authored
This button is treated as a wakeup source, so we need to initialise it correctly. Without the device_init_wakeup() call, dev->power.wakeup will be NULL, and pm_wakeup_event() will do nothing. Signed-off-by:
NeilBrown <neilb@suse.de> Signed-off-by:
Dmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 20 Oct, 2014 1 commit
-
-
Wolfram Sang authored
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
- 26 Nov, 2013 3 commits
-
-
Sebastian Reichel authored
Use managed irq resource to simplify the driver. Signed-off-by:
Sebastian Reichel <sre@debian.org> Reviewed-by:
Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by:
Dmitry Torokhov <dmitry.torokhov@gmail.com>
-
Sebastian Reichel authored
Use dev_err() to output errors instead of dev_dbg(). Signed-off-by:
Sebastian Reichel <sre@debian.org> Reviewed-by:
Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by:
Dmitry Torokhov <dmitry.torokhov@gmail.com>
-
Sebastian Reichel authored
Add device tree support for twl4030 power button driver. Adding device tree support involved converting the driver to module_platform_driver(). Signed-off-by:
Sebastian Reichel <sre@debian.org> Acked-by:
Kumar Gala <galak@codeaurora.org> Tested-by:
Florian Vaussard <florian.vaussard@epfl.ch> Signed-off-by:
Dmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 18 Mar, 2013 1 commit
-
-
Sachin Kamat authored
module_platform_driver_probe() eliminates the boilerplate and simplifies the code. Signed-off-by:
Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by:
Dmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 24 Nov, 2012 1 commit
-
-
Peter Ujfalusi authored
To facilitate upcoming cleanup in twl stack switch from using TWL4030_MODULE_PM_MASTER define to usingTWL_MODULE_PM_MASTER. There are no functional changes. Signed-off-by:
Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by:
Dmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 22 Aug, 2012 1 commit
-
-
NeilBrown authored
As the power button causes a wake from suspend, we need to register the event with the pm sustem to avoid racing with suspend. As the input event is reported in the interrupt handler, as simple pm_wakeup_event() is sufficient. Signed-off-by:
NeilBrown <neilb@suse.de> Signed-off-by:
Dmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 11 Jan, 2012 1 commit
-
-
Dmitry Torokhov authored
Recent conversion to module_platform_driver() went a bit too far and converted not only drivers that used platform_driver_register() but also ones using platform_driver_probe(), breaking them in process. Reported-by:
Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- 01 Dec, 2011 1 commit
-
-
JJ Ding authored
Commit 940ab889 introduced a new macro to save some platform_driver boilerplate code. Use it. Signed-off-by:
JJ Ding <dgdunix@gmail.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- 28 Apr, 2011 1 commit
-
-
Axel Lin authored
In twl4030_pwrbutton_probe error path, free_irq() was using NULL rather than the driver data as the data pointer so free_irq() wouldn't have matched. Signed-off-by:
Axel Lin <axel.lin@gmail.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- 09 Jul, 2010 1 commit
-
-
Markus Lehtonen authored
Power button is not hot-pluggable so we can save some memory by using __init. Signed-off-by:
Markus Lehtonen <markus.lehtonen@nokia.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- 30 Dec, 2009 1 commit
-
-
Felipe Balbi authored
Signed-off-by:
Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- 13 Dec, 2009 2 commits
-
-
Balaji T K authored
This patch renames function names like twl4030_i2c_write_u8, twl4030_i2c_read_u8 to twl_i2c_write_u8, twl_i2c_read_u8 and also common variable in twl-core.c Signed-off-by:
Rajendra Nayak <rnayak@ti.com> Signed-off-by:
Balaji T K <balajitk@ti.com> Signed-off-by:
Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by:
Kevin Hilman <khilman@deeprootsystems.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Santosh Shilimkar authored
The upcoming TWL6030 is companion chip for OMAP4 like the current TWL4030 for OMAP3. The common modules like RTC, Regulator creates opportunity to re-use the most of the code from twl4030. This patch renames few common drivers twl4030* files to twl* to enable the code re-use. Signed-off-by:
Rajendra Nayak <rnayak@ti.com> Signed-off-by:
Balaji T K <balajitk@ti.com> Signed-off-by:
Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by:
Kevin Hilman <khilman@deeprootsystems.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
- 20 Apr, 2009 1 commit
-
-
Felipe Balbi authored
This is part of the twl4030 multifunction device driver that supports reporting KEY_POWER events via the input layer. Signed-off-by:
Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-