]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
HID: sony: Print error on failure to active DS3 / Navigation controllers
authorRoderick Colenbrander <roderick.colenbrander@sony.com>
Tue, 7 Mar 2017 23:45:09 +0000 (15:45 -0800)
committerJiri Kosina <jkosina@suse.cz>
Tue, 21 Mar 2017 14:12:07 +0000 (15:12 +0100)
commit80ecc48c0ade5e99cc9d84febd17c44a4f011c13
treeb2ac74780bea5cb2099b2c723a1cca33642c9209
parente19a267b9987135c00155a51e683e434b9abb56b
HID: sony: Print error on failure to active DS3 / Navigation controllers

This patch adds printing when we failed to activate DS3 / Nagivation
controllers and checks the return value for these failures earlier
in sony_input_configured. This paves the way for other configuration
logic for these devices, which we don't want to call if for example
the activation failed.

Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sony.c