Re: [PATCH v2 3/3] usb: typec: fusb302: Fix debugfs issue

From: Sergei Shtylyov
Date: Wed May 23 2018 - 11:14:35 EST


Hello!

On 05/23/2018 05:37 PM, Heikki Krogerus wrote:

> Removing the "fusb302" debugfs directory when unloading
> the driver. That allows the driver to be loaded more then
> ones. The directory will not get actually removed until it

s/ones/once/?

> is empty, so only after the last instance has been removed.
>
> This fixes an issue where the driver can't be re-loaded if
> it has been unloaded as the "fusb302" debugfs directory
> already exists.
>
> Fixes: 76f0c53d08b9 ("usb: typec: fusb302: Move out of staging")
> Signed-off-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>
[...]

MBR, Sergei