From patchwork Mon Mar 11 10:48:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 10847273 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 DDE0C17EF for ; Mon, 11 Mar 2019 10:48:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C8CD928EE3 for ; Mon, 11 Mar 2019 10:48:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BCF7228F30; Mon, 11 Mar 2019 10:48:23 +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=-7.9 required=2.0 tests=BAYES_00,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 7587E28EE3 for ; Mon, 11 Mar 2019 10:48:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726826AbfCKKsW (ORCPT ); Mon, 11 Mar 2019 06:48:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45552 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726074AbfCKKsW (ORCPT ); Mon, 11 Mar 2019 06:48:22 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4FDF8C04959D; Mon, 11 Mar 2019 10:48:22 +0000 (UTC) Received: from shalem.localdomain.com (ovpn-117-37.ams2.redhat.com [10.36.117.37]) by smtp.corp.redhat.com (Postfix) with ESMTP id 595D85DA62; Mon, 11 Mar 2019 10:48:20 +0000 (UTC) From: Hans de Goede To: Greg Kroah-Hartman , Guenter Roeck , Heikki Krogerus Cc: Hans de Goede , linux-usb@vger.kernel.org Subject: [PATCH v3 0/8] usb: typec: fusb302: Various fixes Date: Mon, 11 Mar 2019 11:48:10 +0100 Message-Id: <20190311104818.30216-1-hdegoede@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Mon, 11 Mar 2019 10:48:22 +0000 (UTC) Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi All, Here is v3 of my fusb302 bug-fix series, the main fix in this series makes active adapters like Type-C to HDMI (often HDMI + USB-3-A) adapters work when they are to be powered by the Type-C port and thus present both an Ra and a Rd resistor on their Cc pins (patch 5). Changes in v3: [PATCH v3 4/8] usb: typec: fusb302: Check vconn is off when we start -Use WARN with a message describing the problem, instead of WARN_ON [PATCH v3 5/8] usb: typec: fusb302: Fix fusb302_handle_togdone_src Ra -Keep the delays for measuring Rd / Ra the same as before instead of multiplying them by a factor 100 [PATCH v3 7/8] usb: typec: fusb302: Improve suspend/resume handling -Change devm_request_irq to a regular request_irq free_irq, so that the work can be properly stopped on remove Regards, Hans Acked-by: Heikki Krogerus