Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1430698AbdDYNTb (ORCPT ); Tue, 25 Apr 2017 09:19:31 -0400 Received: from mx2.mailbox.org ([80.241.60.215]:53622 "EHLO mx2.mailbox.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1429358AbdDYNTG (ORCPT ); Tue, 25 Apr 2017 09:19:06 -0400 Date: Tue, 25 Apr 2017 15:19:00 +0200 (CEST) From: Bernhard Walle To: Peter Chen Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Message-ID: <945599000.34345.1493126340352@office.mailbox.org> In-Reply-To: <20170425081403.GA873@b29397-desktop> References: <20170421101053.2964-1-bernhard@bwalle.de> <20170424035109.GA11436@b29397-desktop> <292472280.32717.1493040322539@office.mailbox.org> <20170425081403.GA873@b29397-desktop> Subject: Re: [PATCH] usb: chipidea: Fix missing resume call after suspend MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-OX-Guard-Marker: false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 400 Lines: 13 Hi Peter, > Peter Chen hat am 25. April 2017 um 10:14 geschrieben: > > Since you unplug the cable first, and plug in again. The driver will > treat it as connection but not resume event. You may use > /sys/class/udc/ci_hdrc.0/state to get udc's connection, eg "not attached" > or other states to indicate connection. Thanks for the hint. This works for me. Regards, Bernhard