Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4256050ybp; Mon, 7 Oct 2019 05:52:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqz3rEVIgcOW5/abtAub3zt2MXFnTSZEwSWUqf+X5oOMtqbFcPdRvO5L3aIe6xKK6nKgv7nA X-Received: by 2002:aa7:d2c4:: with SMTP id k4mr28017777edr.169.1570452753693; Mon, 07 Oct 2019 05:52:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570452753; cv=none; d=google.com; s=arc-20160816; b=wTCzySy+Mh+KPWcBstaVOsc6Vekj/d9PhcfyWEQJ0z2HLuNyuY+X4KHmR123olBtsQ fFIgwKQAl7z+RjCyYxo5npHZ1DvsOO0uIShbKqjDpGr6NKwS/RZvylP7x9zsfdkM7sNX nd5pC0v5sJ0NKMyaCr6P2SuhbiZgyigvrIuvmjw0atrpICwdECXbF3L+7MZ/OSeQ7p6j 787lLSmmvA4WtlriA+F5ueGPwmg767cvWtY3+iekMa90w4EAwxFgfL5EkaRugHp5a6UC 8lBHNO0DJGIyjnmFZU9wCQGDPGVrS8H2so1ZI/liSAKlkh9eU71tBzlcoZzgO6p9s6fW O0kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=q/stoexCazI9iuKLi8P8TUDyz6V2X8FtpeQI0qpKw/o=; b=NMOHZ9Mp0rBKs04BG5DFV4rdw4/VJgeHmVW5w3n2NodBQciOo0D9HdTkEpYXhrc9Yp fiMhmt5QCUmawsz0q5iYMA9aEa33ajA8dn+48x+kqpt2z0atPkfAHErSaFJmNmKgnS9p Y+T7T2DwgMQguLXlfMmb5h+6h13nusMtKzyXv/yYnNHBh1wwdCl8NrGztNQ1Yx2s/aqb DsOhdJaHFTOoNSBOMoFZy42uJZmL7hA7wZswM7DfU/uFXIVcKWNvQtIkWzWIcFLQiTID Wccc8IZdMZh1cZyslVe4Q0SgWDyOrn0zoCPRihfeqdtXoDBVkz6IymW6cAc7rRpxUKXM 96VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YpSrJL93; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n19si6853197ejk.264.2019.10.07.05.52.10; Mon, 07 Oct 2019 05:52:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YpSrJL93; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727804AbfJGMvw (ORCPT + 99 others); Mon, 7 Oct 2019 08:51:52 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:39430 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727467AbfJGMvw (ORCPT ); Mon, 7 Oct 2019 08:51:52 -0400 Received: by mail-lj1-f196.google.com with SMTP id y3so13513523ljj.6; Mon, 07 Oct 2019 05:51:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=q/stoexCazI9iuKLi8P8TUDyz6V2X8FtpeQI0qpKw/o=; b=YpSrJL93JFq5m0zDCpcoJisSR/M6+Dtbd66ZPS0jlGnfOQLbedc0qAN9KDvsv4nBWH PsaKYEvHVmUbtuPQBW1goArE0sfGTp3GnQE9mU9ogLtejBB65ln4iB7+p7kGUxN90hPD niKyPC/99OQjEgts3idB1sIcd6G1HC7PIyPi4FlFpFFpoSbc5pdiywNlB2P5LF6rp+WN LWoXrFqDn+HUtmyMPivBGRg4p8FiJ7WoPetvmzZvVO52gFAdiKTxuoKyB6GEqI+mWSME IrphxicraJ03ahzIx/21w2VJhBIdd/VK6VbvO7ahsCdTyt2zs6vZW38Gng5cFS5JHsLe DHFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=q/stoexCazI9iuKLi8P8TUDyz6V2X8FtpeQI0qpKw/o=; b=aD7fXDJEERlW7WmXpMJWDZB133xgj6iN+14u4bdZwR1cIPpkHvRKtdUmfRukH+eHMD 4Kt6kq9m/T+sJehnV5Kz2WwK0XBi/jfUOde+r8IXwgA6xGZptR/zFg4PggbYcEHiI8zX OQAUfhlQFTvkqoKCHq6wqrjBFlq2VdQP4/m88J1uGB2nU01XTYNphhC9kcFjRJWSBMfG s+f+6QYxKl82vbY/cHHQLlHuH8rJ2/e4ycAJHlFG6p2iMmc2C1zVHde+JjmJup2jGxft rmBdwPXWLPVHZ6A6Eyh6rkN1KPL9nnJHGbrSOZPAqz8xYtNbdlGnGnfHl/WjYkeVXwdF 9dnA== X-Gm-Message-State: APjAAAVB0zZspLV6vQzJf3J7DygSUgKBrOyAfCjKHusrFfDRb3pzjG3/ qxIuDZqEfeKCgqAmwFmt5YrvyKXKDEQoZK8LD64= X-Received: by 2002:a2e:6a0f:: with SMTP id f15mr7917754ljc.17.1570452708750; Mon, 07 Oct 2019 05:51:48 -0700 (PDT) MIME-Version: 1.0 References: <20191007124607.20618-1-igor.opaniuk@gmail.com> <20191007124607.20618-3-igor.opaniuk@gmail.com> In-Reply-To: <20191007124607.20618-3-igor.opaniuk@gmail.com> From: Fabio Estevam Date: Mon, 7 Oct 2019 09:52:14 -0300 Message-ID: Subject: Re: [RFC PATCH v1 3/3] usb: phy: mxs: optimize disconnect line condition To: Igor Opaniuk Cc: USB list , Marcel Ziswiler , Philippe Schenker , Stefan Agner , Max Krummenacher , Oleksandr Suvorov , Igor Opaniuk , Li Jun , Felipe Balbi , Greg Kroah-Hartman , NXP Linux Team , Pengutronix Kernel Team , Sascha Hauer , Shawn Guo , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Igor, On Mon, Oct 7, 2019 at 9:47 AM Igor Opaniuk wrote: > > From: Igor Opaniuk > > We only have below cases to disconnect line when suspend: > 1. Device mode without connection to any host/charger(no vbus). > 2. Device mode connect to a charger, usb suspend when > system is entering suspend. > > This patch can fix cases, when usb phy wrongly does disconnect > line in case usb host enters suspend but vbus is off. > > Signed-off-by: Li Jun > Signed-off-by: Igor Opaniuk Who is the original author of this patch, is it you or Li Jun? If it is Li Jun, then his name should appear in the From field. Also, it seems a Fixes tag is needed here.