hid-sony.c (f39fdf2ab846ecc636d6272b47f28a05a2052a14) | hid-sony.c (2b6579d4a71afb19c6583470783371b992944f67) |
---|---|
1/* 2 * HID driver for Sony / PS2 / PS3 / PS4 BD devices. 3 * 4 * Copyright (c) 1999 Andreas Gal 5 * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz> 6 * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc 7 * Copyright (c) 2008 Jiri Slaby 8 * Copyright (c) 2012 David Dillow <dave@thedillows.org> --- 2534 unchanged lines hidden (view full) --- 2543 * The Dualshock 4 touchpad supports 2 touches and has a 2544 * resolution of 1920x942 (44.86 dots/mm). 2545 */ 2546 ret = sony_register_touchpad(sc, 2, 1920, 942); 2547 if (ret) { 2548 hid_err(sc->hdev, 2549 "Unable to initialize multi-touch slots: %d\n", 2550 ret); | 1/* 2 * HID driver for Sony / PS2 / PS3 / PS4 BD devices. 3 * 4 * Copyright (c) 1999 Andreas Gal 5 * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz> 6 * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc 7 * Copyright (c) 2008 Jiri Slaby 8 * Copyright (c) 2012 David Dillow <dave@thedillows.org> --- 2534 unchanged lines hidden (view full) --- 2543 * The Dualshock 4 touchpad supports 2 touches and has a 2544 * resolution of 1920x942 (44.86 dots/mm). 2545 */ 2546 ret = sony_register_touchpad(sc, 2, 1920, 942); 2547 if (ret) { 2548 hid_err(sc->hdev, 2549 "Unable to initialize multi-touch slots: %d\n", 2550 ret); |
2551 return ret; | 2551 goto err_stop; |
2552 } 2553 2554 sony_init_output_report(sc, dualshock4_send_output_report); 2555 } else if (sc->quirks & MOTION_CONTROLLER) { 2556 sony_init_output_report(sc, motion_send_output_report); 2557 } else { 2558 ret = 0; 2559 } --- 278 unchanged lines hidden --- | 2552 } 2553 2554 sony_init_output_report(sc, dualshock4_send_output_report); 2555 } else if (sc->quirks & MOTION_CONTROLLER) { 2556 sony_init_output_report(sc, motion_send_output_report); 2557 } else { 2558 ret = 0; 2559 } --- 278 unchanged lines hidden --- |