[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190401171725.GK25852@uda0271908>
Date: Mon, 1 Apr 2019 12:17:25 -0500
From: Bin Liu <b-liu@...com>
To: Paul Cercueil <paul@...pouillou.net>
CC: <linux-usb@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<od@...c.me>
Subject: Re: [PATCH] usb: musb: Force-disable pullup on shutdown
On Thu, Mar 21, 2019 at 03:42:46PM +0100, Paul Cercueil wrote:
> When the musb is shutdown, for instance when the driver is unloaded,
> force-disable the pullup. Otherwise, the host will still see the gadget
> device even after the shutdown.
how would this happen?
when musb-hdrc driver is unloaded, udc core removes the bound gadget
driver which calls musb_gadget_pullup() to disable the pullup.
Regards,
-Bin.
Powered by blists - more mailing lists