[PATCH 12/33] Input: Convert to devm_ioremap_resource()

2013-01-21 Thread Thierry Reding
Convert all uses of devm_request_and_ioremap() to the newly introduced devm_ioremap_resource() which provides more consistent error handling. devm_ioremap_resource() provides its own error messages so all explicit error messages can be removed from the failure code paths. Signed-off-by: Thierry

Re: [PATCH 12/33] Input: Convert to devm_ioremap_resource()

2013-01-21 Thread Viresh Kumar
On Mon, Jan 21, 2013 at 3:39 PM, Thierry Reding thierry.red...@avionic-design.de wrote: diff --git a/drivers/input/keyboard/spear-keyboard.c b/drivers/input/keyboard/spear-keyboard.c @@ -228,11 +228,9 @@ static int spear_kbd_probe(struct platform_device *pdev)

Re: [PATCH 12/33] Input: Convert to devm_ioremap_resource()

2013-01-21 Thread Viresh Kumar
On 21 January 2013 16:19, Thierry Reding thierry.red...@avionic-design.de wrote: Can you specify why? devm_request_and_ioremap() and the new devm_ioremap_resource() both already output an error message if they can't request or ioremap the memory region, so all this does is output a duplicate

Re: [PATCH 12/33] Input: Convert to devm_ioremap_resource()

2013-01-21 Thread Thierry Reding
On Mon, Jan 21, 2013 at 04:27:03PM +0530, Viresh Kumar wrote: On 21 January 2013 16:19, Thierry Reding thierry.red...@avionic-design.de wrote: Can you specify why? devm_request_and_ioremap() and the new devm_ioremap_resource() both already output an error message if they can't request or

Re: [RFC] enumeration of composite devices using v-usb

2013-01-21 Thread Benjamin Tissoires
On Fri, Jan 18, 2013 at 5:56 PM, Hartmut Knaack knaac...@gmx.de wrote: Hi, I've built myself a joystick adapter (project website: http://www.hexagons.de/index.php/USB_Joystickadapter), which has the purpose of connecting up to 2 Atari style joysticks (the ones with db9 connectors, found on

Re: [PATCH] HID: add ThingM blink(1) USB LED support

2013-01-21 Thread Vivien Didelot
Hi, I wrote: Should I keep the Kconfig macro CONFIG_BLINK1 or CONFIG_THINGM_BLINK1 sounds better? CONFIG_HID_THINGM_BLINK1 is definitely more explicit. Here's a link to the v2: https://lkml.org/lkml/2013/1/21/435 Thanks, Vivien -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH v2] HID: add ThingM blink(1) USB RGB LED support

2013-01-21 Thread simon
+++ b/Documentation/ABI/testing/sysfs-driver-hid-blink1 @@ -0,0 +1,23 @@ +What:/sys/class/leds/blink(1)::serial/rgb +Date:January 2013 +Contact: Vivien Didelot vivien.dide...@savoirfairelinux.com +Description: The ThingM blink(1) is an USB RGB LED. The

Re: Bug#622231: xserver-xorg-input-synaptics: synaptics driver not always used

2013-01-21 Thread Dmitry Torokhov
Hi Ben, On Sat, Jan 19, 2013 at 09:35:19PM +, Ben Hutchings wrote: Vincent Lefevre reported that on a Dell Latitude E6400 the ALPS DualPoint touchpad is sometimes detected as using generic PS/2 protocol and not the ALPS protocol. This can happen either at boot time or after resume and

Re: Bug HID Dial - jstest and evtest see different number of clicks

2013-01-21 Thread simon
With a little more digging on this I think the issue is down to the default calibration values. Using 'jscal -c' I am able to recalibrate so that the system reports 4 different values (for the 4 position dial), however the spacing is not linear as there is no way to set the mid position - which

Re: [PATCH v2] HID: add support for Sony RF receiver with USB product id 0x0374

2013-01-21 Thread Fernando Luis Vazquez Cao
On Wed, 2013-01-16 at 11:44 +0100, Jiri Kosina wrote: On Wed, 16 Jan 2013, Fernando Luis Vazquez Cao wrote: I noticed that the patch was tagged for-3.9. Does this mean that it is too late to get it merged during the current release cycle? I currently don't have anything queued for 3.8, and

HID: clean up quirk for Sony RF receivers

2013-01-21 Thread Fernando Luis Vázquez Cao
Document what the fix-up is does and make it more robust by ensuring that it is only applied to the USB interface that corresponds to the mouse (sony_report_fixup() is called once per interface during probing). Cc: linux-input@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: