Received: by 10.223.185.116 with SMTP id b49csp2974309wrg; Mon, 5 Mar 2018 11:46:16 -0800 (PST) X-Google-Smtp-Source: AG47ELuL/07N8mA1bW05jBMcQkGyzUpOsgywVsSNarHt8UO5yY1vmjezw5LulOCeFiTIWDRr32jC X-Received: by 2002:a17:902:b697:: with SMTP id c23-v6mr14165992pls.328.1520279175942; Mon, 05 Mar 2018 11:46:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520279175; cv=none; d=google.com; s=arc-20160816; b=MesdZ3MW1g8T3aEmgts2H8yN6+VOuPGLG6u7+WCXeDwpBZ+leYYN/8WjRK/i4eMjgP 0qIMrBZ3HRIaWWN4upMQtTxyIiohsd41rETptVjMYCqk7GWfK/+i8LYXIzCJM5bwJ5Vy 5dBSpiuOslTxIKVUMrXoawGN75Uq/8dLZHrMPL35Dyth3iYbQCOW96nJ5+6krhq0LmSD 8WHiqMQhMyvHqvLgtXDx/Nmbh6lv+AjBbDbknkkd6rnqyIpe64lw8kOHT41pXs9q/ZNe Uwo+wfR7W69fXzXo4Uve06a52bziVqMZFhWsY4iLRCC+oqbRq0oTlPGHQ+QoiG2tmOBl V38Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:arc-authentication-results; bh=zIGZOK6jqn8O8eY3g01iIha+akuromdJzEsofYIaP1M=; b=iZVe90xz/kN3gG1jaZbb3B5eCGXfIiUQbePT2Jlv2t+mO6T3vLcJ96ALcFsS+kZhRW y9nn2oPY7kb/dj5rrvcBuyN0ZdZaw7y4S+NwK1vLRRLYd0TIJ3MJOOzhXp8ppRMeKjRH HH/tyLi8N4pvzksC6rSGx+Pt+l80LAPsQQMEDOgE9yg3ogdlzTeBjaRZXXq6rPqNmDdD +gwdOoDdoSePZh3gAxk+ZgIHkWohhHaP7UR6sZAupQRJBf+LGP89UX8S84MQrnI6SkzB ID17Ak3c8pHWMzVZsksEy78+8W3r0N4x9vYfz5U3S1uZNt2biG2NGJZkP7ejGNIGoRuR 1MyA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 30-v6si9651593pld.724.2018.03.05.11.46.01; Mon, 05 Mar 2018 11:46:15 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752844AbeCETo5 (ORCPT + 99 others); Mon, 5 Mar 2018 14:44:57 -0500 Received: from nala.villavu.com ([188.165.243.101]:55869 "EHLO nala.villavu.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751490AbeCETo4 (ORCPT ); Mon, 5 Mar 2018 14:44:56 -0500 Received: from a82-161-36-93.adsl.xs4all.nl ([82.161.36.93] helo=[0.0.0.0]) by nala.villavu.com with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.85) (envelope-from ) id 1esw2Y-0001qj-5d; Mon, 05 Mar 2018 20:44:54 +0100 Subject: Re: usb: musb: "(null)" in sysfs mode file after disabling a gadget (and at other times, system hangs) To: Bin Liu , =?UTF-8?Q?Pali_Roh=c3=a1r?= , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Ivaylo Dimitrov , linux-omap@vger.kernel.org References: <20180302152712.GA22262@uda0271908> <20180302165439.62xw4slhhupy4vy5@pali> <20180305192844.GE14921@uda0271908> From: Merlijn Wajer Message-ID: <54fc4244-2584-f63d-23be-9e0413bcbee4@wizzup.org> Date: Mon, 5 Mar 2018 20:44:40 +0100 User-Agent: Mozilla/5.0 (X11; Linux armv7l; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180305192844.GE14921@uda0271908> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wAfqtYmuGfZKab562liZHgjPqAQ3Nlwv6" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --wAfqtYmuGfZKab562liZHgjPqAQ3Nlwv6 Content-Type: multipart/mixed; boundary="I07G5oaIMgXlrTNCraeDtLKVWEUdTltgJ"; protected-headers="v1" From: Merlijn Wajer To: Bin Liu , =?UTF-8?Q?Pali_Roh=c3=a1r?= , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Ivaylo Dimitrov , linux-omap@vger.kernel.org Message-ID: <54fc4244-2584-f63d-23be-9e0413bcbee4@wizzup.org> Subject: Re: usb: musb: "(null)" in sysfs mode file after disabling a gadget (and at other times, system hangs) References: <20180302152712.GA22262@uda0271908> <20180302165439.62xw4slhhupy4vy5@pali> <20180305192844.GE14921@uda0271908> In-Reply-To: <20180305192844.GE14921@uda0271908> --I07G5oaIMgXlrTNCraeDtLKVWEUdTltgJ Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable Hi Bin, On 05/03/18 20:28, Bin Liu wrote: > The musb udc driver sets the state to b_idle without checking a > gadget driver, this should be cleaned up. I have add this in my backlog= =2E > But if this issue doesn't bother you much right now, I will make the > action low priority and address it later whenever I got time. (likely > not very soon, I have a hand full of musb driver bugs to fix...) I can try to fix it this (or next) week. Do you have a pointer for me? Cheers, Merlijn --I07G5oaIMgXlrTNCraeDtLKVWEUdTltgJ-- --wAfqtYmuGfZKab562liZHgjPqAQ3Nlwv6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQRM5LT7NbLF9yb6a/UGN09rynK8WgUCWp2eKwAKCRAGN09rynK8 WsvQAP4vTZ+XjddsvVS8aVClUIvyWd+RtQ7YuHbinXbA2GH8MAD/V696K0MOoU8s Wk9Y6Hpkohle5juuYrAstJJflJlmuQU= =dUtV -----END PGP SIGNATURE----- --wAfqtYmuGfZKab562liZHgjPqAQ3Nlwv6--