From patchwork Sun Dec 30 10:56:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongye Yuan X-Patchwork-Id: 10745065 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CF1BC6C2 for ; Sun, 30 Dec 2018 10:56:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBD9E289DD for ; Sun, 30 Dec 2018 10:56:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AD0ED28B37; Sun, 30 Dec 2018 10:56:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 522E7289DD for ; Sun, 30 Dec 2018 10:56:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726207AbeL3K4Y (ORCPT ); Sun, 30 Dec 2018 05:56:24 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:46840 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726063AbeL3K4Y (ORCPT ); Sun, 30 Dec 2018 05:56:24 -0500 Received: by mail-pl1-f194.google.com with SMTP id t13so11722525ply.13 for ; Sun, 30 Dec 2018 02:56:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ww6fL2+GjXJoSWJM3iiS3Y1Bct/A7kWxtjCGpTjIE4o=; b=btwjaG4sx2AeX+RjerXU+IX7OsxhQjjcrTztM6dMVw+intzKcSf2vD+hUUvllp//B3 GazN0jAhjeARUZwIfQGNGmMeowG81u6973d/2knx3eUbhhd6LxFImyKypkQVd9UnFmBS ZEqzuZj0Dc8GVpL7O9AR5vlP5dj4xtDLR2vZ5P2q9qPerzai6YaRwFK0yZeKmdFpBBmw bnKjKRaLwNU08KRIDvkJsQpiex09NpTtQ+crRtIOIqqd/wX0Y0oUk+h86N4rnIzzdnaz djItKn+G0Y87FzFS0NpdOYUruK5HN+q9l7W0X3CrHutHVdl1EtoVjzjLBVYD7wCbVZ6G 2OpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ww6fL2+GjXJoSWJM3iiS3Y1Bct/A7kWxtjCGpTjIE4o=; b=FKm0/3vw/VDWzhZ8+Cxo8bjCneFuvubgVRZ+4fmmKqdgGIou3zicb79U9LEBjBl38N CjORFHBOKIuvQ/UKrBQfs6x/XhRI8fGa6CXy4M4IdT1FSk4Hi+Sr03UsD1T4kQG4SZaR wCmU/n6yRLTQ5/73UiaMbdr2dzVOUenLxUgLSqSA3RoWlNCs44ptfT/u4emS7DJbiAFj x4IgJGzmd2JgGW2A/IV4GlRyvW11Vv0Jl3XqrL1YVEBCqN0FXytZFh+3LVGy1u7y2ga4 aX45Z5r2k6uc3M77SHuxB9q8OjZKuS0lJRs5h2vw1oa3YmtcdTvmO5X9PqeshgPhbFKb 5G5A== X-Gm-Message-State: AJcUukep5YB+Ba3d5rNgnjqNhjeBatEdNksplCTdaQsTcC1l2aXJJNTD uzX8T7pSD8QcyVg7CwpKAJvAVgGa6WI= X-Google-Smtp-Source: ALg8bN6pTNq5v3lhhHSgGEp6zlD1nCLhUFR9g0YE7jlFzSv6mS97ohTOpvMRBf9NkkIgh2Qkxo09nw== X-Received: by 2002:a17:902:2e01:: with SMTP id q1mr10784784plb.97.1546167383644; Sun, 30 Dec 2018 02:56:23 -0800 (PST) Received: from localhost (104.224.165.23.16clouds.com. [104.224.165.23]) by smtp.gmail.com with ESMTPSA id a195sm75728152pfa.7.2018.12.30.02.56.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 30 Dec 2018 02:56:22 -0800 (PST) From: Hongye Yuan To: linux-input@vger.kernel.org Cc: jikos@kernel.org, benjamin.tissoires@redhat.com, rydberg@bitmath.org, roderick.colenbrander@sony.com, ao2@ao2.it, outmatch@gmail.com Subject: [PATCH v3 0/2] Fix SHANWAN PS3 GamePad rumble on USB again Date: Sun, 30 Dec 2018 18:56:16 +0800 Message-Id: <20181230105618.11867-1-outmatch@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Changes in V3: Split patch into two parts: 1. Add a quirk for SHANWAN PS3 GamePad 2. Fix SHANWAN PS3 GamePad rumbling on USB again Changes in V2: - Tidy up commit message and source line indention - Fixed inverted logic in sixaxis_set_operational_usb() Hongye Yuan (2): HID: sony: add a quirk for SHANWAN PS3 GamePad. HID: sony: Fix SHANWAN PS3 GamePad rumbling on USB again drivers/hid/hid-sony.c | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-)