- 10 1月, 2010 1 次提交
-
-
由 Márton Németh 提交于
The id_table field of the struct i2c_driver is defined as constant in <linux/i2c.h> so it makes sense to mark the initialization data also constant. Signed-off-by: NMárton Németh <nm127@freemail.hu> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 05 8月, 2009 2 次提交
-
-
由 Richard Röjfors 提交于
Check the result when sending the power down command to the controller. Signed-off-by: NRichard Röjfors <richard.rojfors.ext@mocean-labs.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
In cases when get_pendown_state callback is not available have the driver to fallback on pressure calculation to determine if the pen is up. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 27 7月, 2009 4 次提交
-
-
由 Richard Röjfors 提交于
Don't read coordinates during probe of the driver, just power down the controller and wait for interrupts. Signed-off-by: Richard Röjfors<richard.rojfors.ext@mocean-labs.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Richard Röjfors 提交于
Make init_platform_hw and exit_platform_hw callbacks optional since they are not needed on all platforms. Signed-off-by: NRichard Röjfors <richard.rojfors.ext@mocean-labs.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Properly shut off interrupts/delayed work by free-ing IRQ first and then ensuring that enable/disable is balanced. Also add __devinit/__devexit markings, restore poll delay/period scheduling logic, make sure we call exit_platform_hw() method when probe fails. Tested-by: NRichard Röjfors <richard.rojfors.ext@mocean-labs.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Richard Röjfors 提交于
Since it's not allowed to do synchronous I2C in the HR timer callback context we have to switch to using the global workqueue. The work is scheduled every 1ms when polling rather than 5 us. Signed-off-by: NRichard Röjfors <richard.rojfors.ext@mocean-labs.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 16 5月, 2009 1 次提交
-
-
由 Kwangwoo Lee 提交于
The platform codes must provide get_pendown_state() for the driver to work properly. Signed-off-by: NKwangwoo Lee <kwangwoo.lee@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 12 5月, 2009 1 次提交
-
-
由 Thierry Reding 提交于
Now that hrtimers are always running in hard irq context we can't unconditionally enable interrupts at the end of the timer function. Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de> Signed-off-by: NKwangwoo Lee <kwangwoo.lee@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 18 4月, 2009 1 次提交
-
-
由 Ben Nizette 提交于
disable_irq() waits for all running handlers to complete before returning. As such, if it's used to disable an interrupt from that interrupt's handler it will deadlock. This replaces the dangerous instances with the _nosync() variant which doesn't have this problem. Signed-off-by: NBen Nizette <bn@niasdigital.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 30 1月, 2009 1 次提交
-
-
由 Kay Sievers 提交于
Acked-by: NGreg Kroah-Hartman <gregkh@suse.de> Signed-off-by: NKay Sievers <kay.sievers@vrfy.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 20 12月, 2008 1 次提交
-
-
由 Kwangwoo Lee 提交于
This drive has been tested on ARM9 based SoC - MV86XX. Signed-off-by: NKwangwoo Lee <kwangwoo.lee@gmail.com> Acked-by: NJean Delvare <khali@linux-fr.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-